Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default How to create a daily sale

    What I'm looking to do will probably take some custom programming. i'm looking for advice about where I can begin . . .

    I would like to create a category called 'Deal of the Day' where I could have a daily special. It would only show 1 item, which would show for a 24 hour period, and then it would switch to the next Deal.

    I know you can specify dates at which products are available and you can also specify the dates of specials. The pieces are there, just not sure how to put it together.

    Thanks.

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

    Default Re: How to create a daily sale

    If you were to clone the featured ... you can do this ...

    Be careful on the functions for the expiration/activate ...

    If you do this perfectly, it will manage to handle this for you so that you could set them for the future and they will turn on/off for you automatically ...
    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!

  3. #3
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: How to create a daily sale

    Quote Originally Posted by Ajeh
    If you were to clone the featured ... you can do this ...

    Be careful on the functions for the expiration/activate ...

    If you do this perfectly, it will manage to handle this for you so that you could set them for the future and they will turn on/off for you automatically ...
    Whoo-hooo! I just spent the last 4 hours duplicating the featured section. I did a search with the developers toolkit and duplicated EVERYTHING. This is by far the most complicated thing I've done. I also had to duplicate all of the configuration keys and duplicate the featured table in the database.

    To make a long story short, it works perfectly, at least so far. Thanks a bunch Ajeh.

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

    Default Re: How to create a daily sale

    Good job!

    And you have experienced the concept of how fun it is to add a "quick" new feature to Zen Cart ...

    Makes you think when you imagine all the groovy little toys and features that are in Zen Cart already ...
    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!

  5. #5
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: How to create a daily sale

    One last question, how complicated would it be to have it skip directly to the product when the 'Daily Deal' link is used as there will only be 1 product in the listing. I guess something similar to what is done with the product categories. I see this code here:

    includes/modules/pages/index/header_php.php

    Line #55 : if (SKIP_SINGLE_PRODUCT_CATEGORIES=='True' and !isset($_GET['filter_id'])) {
    But not sure how difficult it would be to add this to the features (or in my case the daily deal) products.

    Thanks!

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

    Default Re: How to create a daily sale

    There is already a switch in Zen Cart that 1 product Categories go right to the Product _info page ...
    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!

  7. #7
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: How to create a daily sale

    Maybe I wasn't clear, I know it exists for the product catalog, which is where I got that code from. But I was referring to the featured products. This built-in functionality only works for the product catalog.

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

    Default Re: How to create a daily sale

    You know how the Featured sidebox works and gives a link to what is the product?

    Do you have a Daily sidebox?

    I don't know how you are currently displaying this that clicking on it doesn't take you right to the product _info page ...
    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!

  9. #9
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: How to create a daily sale

    Damn, you are right. Sorry . If I use the sidebox it will display the only featured product. I did want to just provide a text link at the top of the page that stated daily deal, but I'm not sure if that will work.

    Thanks by the way, for your help.

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

    Default Re: How to create a daily sale

    If you can make a link to the image in the Daily sidebox ...

    I bet you can make a text link and stick it in the header in a similar manner ...
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 How to create a sale/special on products priced by attributes
    By sbaker6612 in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 21 Nov 2015, 07:59 AM
  2. Daily Product - How to set it up?
    By enigma666666 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 8 Dec 2010, 07:35 PM
  3. Including a daily sale module
    By sanjuonline in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 24 Jul 2009, 12:57 PM
  4. How to create SALE items page?
    By miles in forum General Questions
    Replies: 3
    Last Post: 14 Sep 2008, 04:56 AM
  5. How do I create daily specials?
    By Outlawlb in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 15 Jan 2007, 05:57 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