Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    Great thank you. Looking much more like I was hoping to get it :)

    Just two more things - can I delete the Add selected products to cart (top right) and is it possible to align the price right without aligning everything else right?

    Many thanks

  2. #2
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    Just tried to remove the Add selected products to cart via admin placing 2 instead of 3 but it didn't work. I guess this is now hard coded in??

  3. #3
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    I've solved the add to issue.

    So just need to know if I can align the price right (moving nothing else)

    Thanks

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Changing the way product info is displayed

    There is no stock identifier to style just the price with, so you will have to go back into product_listing.php and add a tag.
    Find this:
    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price
    and change to this:
    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  '<span class="listingPrice">' $lc_price '</span>'
    Then add to your stylesheet
    Code:
    .listingPrice {
        float: right;
        }
    and any other styling you want.

  5. #5
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing the way product info is displayed

    Great thanks - really helpful

 

 

Similar Threads

  1. the images displayed under main product image and i want to be displayed on the right
    By magnum17 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 Nov 2012, 11:10 PM
  2. Changing the way products are displayed
    By CestProuve in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 Nov 2008, 08:13 AM
  3. Changing the way the product description page looks
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 18 Jul 2006, 12:21 AM
  4. Changing the Way Products are Displayed
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jun 2006, 05:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg