Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default how do I modify this page?

    Hi,

    I would like to change this page, i.e. repeating the text "prezzo" on each product, etc.

    Thank you

  2. #2
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: how do I modify this page?

    Forgot to ask which template controls it.

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

    Default Re: how do I modify this page?

    /includes/modules/your_template/product_listing.php creates the content for the page.

  4. #4
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: how do I modify this page?

    Thanks.

    I thought it would have been less complicated ...
    Could you please tell me how to repeat the heading "prezzo" on each cell?

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

    Default Re: how do I modify this page?

    You can use some of the code from the heading output around line 40:
    PHP Code:
        case 'PRODUCT_LIST_PRICE':
        
    $lc_text TABLE_HEADING_PRICE;
        
    $lc_align 'right' . (PRODUCTS_LIST_PRICE_WIDTH '" width="' PRODUCTS_LIST_PRICE_WIDTH '');
        
    $zc_col_count_description++;
        break; 
    and put it in the product price cell code around line 107:
    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;

            
    // more info in place of buy now
            
    $lc_button '';
            ... 
    Something like this may work for you:
    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text TABLE_HEADING_PRICE '<br />' .  $lc_price;

            
    // more info in place of buy now
            
    $lc_button '';
            ... 

  6. #6
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: how do I modify this page?

    Thank you.

    It's what I needed.

 

 

Similar Threads

  1. How to Insert/modify image in editing page
    By Geri in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Aug 2008, 09:25 AM
  2. How to modify the product info page?
    By stennochau in forum General Questions
    Replies: 6
    Last Post: 12 Aug 2007, 06:19 PM
  3. How do I modify this Survey code?
    By HandcraftedUK in forum General Questions
    Replies: 1
    Last Post: 8 Jun 2007, 02:04 AM
  4. how to modify this page
    By helinzhou in forum General Questions
    Replies: 3
    Last Post: 13 Jul 2006, 02:42 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