Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Offer discount for customers who re-purchase the same item?

    I'm think of a good way to offer x% of discount per item that is re-purchased (so, any item in the basket that is bought the second time will get x% discount for its price)

    I wonder what is the best way to do this? Can we alter the product price on the fly?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Offer discount for customers who re-purchase the same item?

    Anyone with experience doing this thing? No one?

    Regards
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

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

    Default Re: Offer discount for customers who re-purchase the same item?

    Are you hoping to do this as an Automatic Discount?

    Or do you want them to have a Discount Coupon?

    What happens if I order 10 things over the month and then come back and re-order 1 thing? re-order 2 things? re-order 3 things?

    Same discount? Different discount per product?

    What if I ordered last month 1 Product A and I come back this month and order 3 Product A ... do I get the discount on all 3 of Product A?

    What if I ordered two months ago 1 Product A and then last month 1 Product A and I come back this month and order 7 Product A ... do I get the discount on all 7 of Product A?
    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: v1.5.5]
    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!

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Offer discount for customers who re-purchase the same item?

    Hi Ajeh

    Thank you very much for looking into this. The logic I will use is pretty simple: you get 25% off the product(s) you purchased in the past.
    I think I can handle the logic behind the discount, I just wonder how I should(or if I can) alter the product price and/or the order total?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

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

    Default Re: Offer discount for customers who re-purchase the same item?

    I'd build a session array on login that has the products_id for all previously purchased Product ...

    That can be used to flag products to either say you will get an additional 25% off and flag the products in the cart ...

    It is up to you if you want to show the 25% on the cart either per product or as a lump total ...

    Then build an Orders Total module to give the extra 25% off ... look at the existing Order Total modules to see which work best for you ... I am thinking adapting one from ot_group_pricing.php would be easiest ...

    The function for displaying the price can be adapted that is in functions_price for a global display of the discounted price or adding a flag on the display price ...

    I am not sure how elaborate you want to make this ...

    Example: ot_group_pricing.php shows the discount during the checkout but not in the Catalog itself ...

    Depends on if you have your coding hat on or not ...
    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: v1.5.5]
    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. 1062 Duplicate entry 'Customers who have never completed a purchase' for key 2
    By maperr55 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 9 Jul 2010, 05:14 AM
  2. Coupon for customers who previously purchased a specific item
    By CKlemow in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 29 Jun 2010, 08:32 AM
  3. How do I offer multiple Flat Rate shippings and per item shipping at the same time??
    By nyanko chan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Nov 2008, 05:48 PM
  4. 1062 Duplicate entry 'Customers who have never completed a purchase' for key 2
    By elliesupport in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 2 Jul 2008, 09:04 PM
  5. Discount on varieties of the same item
    By wireyourworld in forum Setting Up Specials and SaleMaker
    Replies: 5
    Last Post: 3 Apr 2008, 09:05 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR