Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Once an item is sold, do not show sale price?

    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?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Once an item is sold, do not show sale price?

    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.

  3. #3
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Once an item is sold, do not show sale price?

    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.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Once an item is sold, do not show sale price?

    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.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Once an item is sold, do not show sale price?

    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!

 

 

Similar Threads

  1. Sale price only shown once in cart?
    By Hobbies in forum Setting Up Specials and SaleMaker
    Replies: 10
    Last Post: 8 Nov 2009, 07:32 PM
  2. Sale Price / Slash regular and show sale?
    By LilleyPadGifts in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 11 Dec 2007, 11:40 PM
  3. how to get invoice to show an item was sold on sale
    By TATIANA in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 27 Oct 2007, 01:14 PM
  4. Replies: 1
    Last Post: 8 Jul 2006, 06:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg