New Zenner
- Join Date:
- Sep 2007
- Posts:
- 23
- Plugin Contributions:
- 0
Started by biojohn on 21 Nov 2007, 9:14 PM · Views: 1,646
New Zenner
Black Belt
Pics are ok but for direct assistance post your site url
Zen-Venom Get Bitten
New Zenner
My site is: https://www.bioland-sci.com. Thanks.
Black Belt
You are going to have to re-order these in a copy of the tpl_product_info_display.php file and pay attention to the clear both entries that force a new line. You do not want one of those between the items you are attempting to align as in your pic.
Once re-ordered, a bit of css to refine placement will be required as initially it will not look as you want.
Zen-Venom Get Bitten
New Zenner
Hi, Kobra. Thank you very much for your reply. That's nice but I have very little knowledge of php programming.
New Zenner
:clap:I'm so glad that I found the solution in the following thread. Keep reading and searching, I like it!
http://www.zen-cart.com/forum/showthread.php?t=56291&highlight=product_listing.php
One more question, how to remove the border of the heading title like catalog#? Help is appreciated!
New Zenner
thanks biojohn for sharing the solution found in another thread. Thanks to ajeh for the solution.
My scenario is a litte different. I want to wrap a span or other block around price, in order to apply a class.
Even the special product price seems to work correctly, inheriting the style from the price class.
You would need to customize:
**/includes/modules/products_listing.php
**And change the case statement for
case 'PRODUCT_LIST_PRICE':
Copy the file to your templates and overrides directory ...
change
case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = '$lc_price;
to
case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = '<span class="price">' .$lc_price . '</span>';
and add the style definition to your stylesheet
:clap:
Tell staff why this post should be reviewed.