Once an item is sold and quanity is zero, is there a way to automatically delete/not show the sold price, while keeping the product live (as sold)...
Any way to do this?
Once an item is sold and quanity is zero, is there a way to automatically delete/not show the sold price, while keeping the product live (as sold)...
Any way to do this?
Have you tried this?
Admin->Configuration->Stock --- "Show sold out instead of add-to-cart"
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Yes, I have that enabled already...
I was hoping to have the dollar amount (price) ex $9.99 to disappear when the item is marked sold. So if someone sees the item as sold the price is hidden.
You'll have to do some custom coding, looking for all the cases where the sold-out logic currently is used to display the image, and then override the price to not display in those cases.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
You could use the $products_quantity to check the value and hide the price in your templates and overrides file ...
if ($products_quantity <= 0) {
// show it
} else {
// show nothing or something else
{
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!