Dangling Carrot (Free Gift/Discount Contrib)
#1
Posted 08 March 2005 - 03:15 AM
I was trying to see if there was an `official' thread but couldn't find one.
Anyway.
I downloaded the Dangling Carrot contrib which is just what I was looking for.
Allows you to offer free gifts and discounts that appear in the shopping cart page.
eg: If a customer will get a free mug if they spend $50 or more, when they get close the shopping cart will say `Spend just xxx more and get this coffee mug for free'.
I'm having a few problems and was wondering if anyone else had used it, or edited it or if the author plans on releasing an update. It seems to work pretty well on their site.
1) I am unable to offer a discount onlt free items (eg: 50% discount on xxx product on $xx spend)
2) If you run a multi currency store it doesn't take into account additional currencies.
3) Is it possible to offer a discount or free on an entire category - eg: Buy $100 and received your choice of a DVD for $10 (or free) etc.
Also, the gift_add.php page refers to a page called gifts.php (which doesn't exist in the zip download) - it works if you change the gifts.php to gift_add.php
On about line 87-90 a reference is made to the authors site you need to change this to your own sites page.
I do like the contribution, I was just wondering if anyone had updated it, or was planning too.
Thanks
Ernie
#2
Posted 09 March 2005 - 09:49 AM
for discounted products, you need to copy the original product and change the price. Also change the name to say "Towel worth £10 for just £2" or similar. It's a bit crude, but it works.
Currencies - perhaps someone can help out with this one?
I haven't figured out the discounted category yet - this mod works on "copied" products rather than modifying product properties (which would ultimately be more powerful). Maybe someday, but don't hold your breath ...
chris
#3
Posted 10 March 2005 - 03:28 AM
Thanks for replying.
So I guess maybe make a new category called `Freebies' and copy the items into there? Then rename and reprice of course!
How do I `hide' a category so everyone and his dog doesn't order a `towel at $2' - I'm sure I should know....
I was looking at your site (very nice too) - the session1 (?) is this the exact contrib you used as is on that site?
Thanks
Ernie
#4
Posted 10 March 2005 - 10:10 AM
If your "inactive" or "out of stock" products still show in your shop then you might have to work out the category thing.
Yes, this is the same as I use in my shop, but I also have the bundled products module installed. (it makes no difference to the gift mod though really). all it means is that when someone buys the gift the stock level of the original product is updated.
#5
Posted 11 March 2005 - 04:48 PM
I was testing the free gift system on your website and I seem to have found 2 bugs:
First,
- I add this product to my cart (price = 12.76)
http://www.session1.com/product_info.php?products_id=1570
- change the quantity to 4 so the total is 51.04 and I qualify for your gifts at 50 pound threshold.
- add the gift "HALF PRICE Scrub board bag worth £29.99" to my cart.
Now if I change the quantity of the dvd to 3 (so the total is less than 38.28 and less than the threshold), the free gift is still in my cart.
Solution: it seems the 'threshold check' is looking at the cart total including the half price gift. So 38.28 plus the half price gift at 12.77 totals over $50 and it allows the gift to stay.
*The 'threshold check' should calculate the cart total minus the prices of any gifts (if they exist) already in the cart.*
Second:
- Add 4 of the same DVD to my cart:
http://www.session1.com/product_info.php?products_id=1570
- add the free gift:
HQ Airglider worth £12.00 for just 99p!
- now change quantity of the dvd to 3, so total is less than thresholf of 50. the gift is correctly removed, but the gift listing on the bottom now reads:
Spend just £10.88 more to get ...
HQ Airglider worth £12.00 for just 99p!
(Maximum 1 gift per order)
Spend just £11.72 more to get ...
HALF PRICE Scrub board bag worth £29.99
(Maximum 1 gift per order)
The 10.88 amount is incorrect. It should be 11.72 as the 2nd gift correctly shows (assuming both gifts' threshold is 50)
Other than that, this seems like a great contribution.
I will be adding it to my site soon and will attempt to fix the 2 bugs and also the issue of not allowing more than one quantity of a gift as well.
Thanks again for another fine contribution!
#6
Posted 11 March 2005 - 05:22 PM
#7
Posted 12 March 2005 - 09:34 AM
lobotomia - I have not had that problem before ... can anybody else help with this?
chris
#8
Posted 12 March 2005 - 04:53 PM
It is a bit confusing as the 'log in' text is always there, even when the customer is already logged in.
Edited by safoo, 12 March 2005 - 04:55 PM.
#9
Posted 12 March 2005 - 05:44 PM
i think that error is in link creation....
how can i solve?
#10
Posted 14 March 2005 - 07:00 PM
#11
Posted 19 March 2005 - 08:11 PM
#12
Posted 23 March 2005 - 09:37 PM
When I changed things around a little bit, I got some bugs that I don't think were present before. All should be fixed now.
#13
Posted 23 March 2005 - 11:47 PM
#14
Posted 24 March 2005 - 06:06 PM
http://www.oscommerce.com/community/contributions,2990
#15
Posted 24 March 2005 - 06:49 PM
thank you to post this update !
As you descrive in the contribution text, i'ld be grateful if you can post the 2 changes
you didn't insert in the 1.1 update.
Thank you in advance
sincerely
Roberto
safoo, on Mar 24 2005, 06:06 PM, said:
http://www.oscommerce.com/community/contributions,2990
#16
Posted 24 March 2005 - 08:55 PM
I will put that as special instructions for anyone who wants to do that change.
I still have to migrate that change into my live site, so once I do that I will give the instructions for it.
#17
Posted 25 March 2005 - 10:23 AM
but now if I add gift to my cart, in cart is added product with original price, why this?
#18
Posted 25 March 2005 - 05:58 PM
#19
Posted 26 March 2005 - 11:58 AM
#20
Posted 26 March 2005 - 12:20 PM
lobotomia, on Mar 26 2005, 11:58 AM, said:
a gift at its normal selling price , novel
Edited by jeffk, 26 March 2005 - 12:20 PM.









