Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Showing custom Specials Price on product listing

Showing custom Specials Price on product listing

Views: 701

Results 1 to 4 of 4
27 Jul 2015, 8:50 PM
#1
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Showing custom Specials Price on product listing

How do i also show the special price on product listing page
and
How do i also show the quantity in stock on product listing page
actually i modified this to show an image i want to show the image

28 Jul 2015, 1:36 AM
#2
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Showing custom Specials Price on product listing

I have this in my tpl_product_info_display.php file and want it to show on the product listing page

<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

<!--bof free ship over 100 icon  -->
<?php if(zen_products_lookup((int)$_GET['products_id'], 'products_price') >= 100 && ($products_weight) <=25 && !in_array($products_model, explode(',', FREE_SHIP_ICON_MFRS_EX3)) && !in_array($manufacturers_name, explode(',', FREE_SHIP_ICON_MFRS_EX))) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship over 100 icon  -->

<!--bof free ship under 200 icon  -->
<?php if(zen_products_lookup((int)$_GET['products_id'], 'products_price') <= 99 && ($products_weight) <=25 && !in_array($products_model, explode(',', FREE_SHIP_ICON_MFRS_EX3)) && in_array($manufacturers_name, explode(',', FREE_SHIP_ICON_MFRS_IN)) && ($products_discount_type) <= 0) { ?>
<div id="freeShippingunder"><?php echo TEXT_PRODUCT_FREE_SHIPPING_UNDER; ?></div>
<?php } ?>
<!--eof free ship under 200 icon  -->

<!--bof free ship Friday's icon  -->
<?php if(in_array($manufacturers_name, explode(',', FREE_SHIP_ICON_MFRS_IN2))) { ?>
<div id="freeShippingfriday"><?php echo TEXT_PRODUCT_FREE_SHIPPING_FRIDAY; ?></div>
<!--<span style="font-size:16px;"><u>"Certain Restrictions Apply"</u></span>-->
<?php } ?>
<!--eof free ship Friday's icon  -->

<!--bof bulk buy icon  -->
<?php if ($products_discount_type > 0) { ?>
<div id="bulkbuy"><?php echo TEXT_PRODUCT_BULK_BUY; ?></div>
<?php } ?>
<!--eof bulk buy icon  -->
<hr id="product-divider" />
30 Jul 2015, 1:20 PM
#3
steve43 avatar

steve43

New Zenner

Join Date:
Jul 2015
Location:
Berlin
Posts:
3
Plugin Contributions:
0

Re: Showing custom Specials Price on product listing

Can you show us exactly what you mean? :lookaroun

30 Jul 2015, 8:25 PM
#4
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Showing custom Specials Price on product listing

Problem 1
when a product is on sale it only shows sale price on product page, i want it to show on product listing also.
Problem 2
this item is in stock, shows on product page (Modified to show a Picture with Text)
Same for Non stock, Want to show these on product listing
http://floorz-n-more.com/index.php?main_page=product_info&cPath=8_9_29&products_id=3180
Problem 3
Modified the free ship label to show other labels
Want to show this on product listing