Totally Zenned
- Join Date:
- May 2009
- Posts:
- 1,273
- Plugin Contributions:
- 3
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
Views: 1,073
Totally Zenned
Hi,
I would like to change** this page**, i.e. repeating the text "prezzo" on each product, etc.
Thank you
Totally Zenned
Forgot to ask which template controls it.
Black Belt
/includes/modules/your_template/product_listing.php creates the content for the page.
Totally Zenned
Thanks.
I thought it would have been less complicated ...
Could you please tell me how to repeat the heading "prezzo" on each cell?
Black Belt
You can use some of the code from the heading output around line 40:php case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'right' . (PRODUCTS_LIST_PRICE_WIDTH > 0 ? '" width="' . PRODUCTS_LIST_PRICE_WIDTH : ''); $zc_col_count_description++; break; and put it in the product price cell code around line 107:```php
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 = '';
...
```php
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 = '';
...
Totally Zenned
Thank you.
It's what I needed.
Tell staff why this post should be reviewed.