I was wondering if it were possible to remove Save: % off from the sideboxes, but keep it everywhere else.
I was wondering if it were possible to remove Save: % off from the sideboxes, but keep it everywhere else.
Basically I want to get rid of .productPriceDiscount in the featured, specials, and new products sideboxes.
Is it possible?
Basically I am asking if it is possible to only remove Save: % off from the sideboxes only:
$42.95 $36.10
Save: 16% off
$25.95 $20.87
Save: 20% off
All of the display prices are called via the same function ...
You would need to do quite a bit of customization to alter the way this works to distinguish when and where the function is being called from ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Couldn't you use the style sheet to call up prices from the specific sideboxes. The designer that worked on my site managed to change the color of the regular prices in the sideboxes so that they are different from the center boxes and product pages.
Unfortunately, that is not broken down with an ID for what made the call to the display price function ...
This could be designed for this, but you would be re-writing a great deal of code for this to happen ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
i think he is right... if you want to the remove Save: 20% from the item on the sidebar, you'll be removing it from the regular product listing and the main product info page as well. i don't mind that... if you're interested, here is how to take it out
/includes/functions/functions_prices.php
line 427
$show_sale_discount = '<span class="productPriceDiscount">' . '<br />' . PRODUCT_PRICE_DISCOUNT_PREFIX . $show_discount_amount . PRODUCT_PRICE_DISCOUNT_PERCENTAGE . '</span>';
NEW LINE 427
$show_sale_discount = '';
save and upload and you're good to go. peace.
***this will work for items listed under 'Specials' inside ZenCart admin... don't know how it works with SaleMaker... doesn't apply to my situation. good luck.
How do you change specials display price form '%' to '$'? I know I've done this before but now just can't seem to find it. Any help would be appreciated.
Anyone? I know it is a very simple setting. Just don't know where to find it.