| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Buy More, Save More Popup Message (4.6.0 and up) | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Buy More, Save More Popup Message (4.6.0 and up)
If you are using a discount system that rewards customers in next fashion:
Spend over X get Y off then here is the mod that will remind customers to spend more to qualify for the next tier of discounts. It will show a message in Add to Cart Popup when customer adds an item to cart (view attached image). http://forum.x-cart.com/attachment.php?attachmentid=3557&stc=1&d=137947929 3 Simple example: Spend 100$ or more and get 10$ OFF In /common_files/modules/Add_to_cart_popup/product_added.tpl add: Code:
right after : Code:
And more complex example: Spend 75$ or more and get 5$ OFF Spend 100$ or more and get 10$ OFF Spend 150$ or more and get 15$ OFF Spend 200$ or more and get 25$ OFF In /common_files/modules/Add_to_cart_popup/product_added.tpl add: Code:
right after : Code:
This mod was tested in 4.6.0 and 4.6.1 . I am pretty sure it can be easily implemented in earlier versions as well. Enjoy!
__________________
Version 4.7.6 X-cart Gold |
|||||||||
#2
|
|||||||
|
|||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Hello Acidon,
Thanks for a beautiful code. If instead of hard coding in tpl file if I create offer through module and over range of price then how to define the offer?
__________________
X-cart Platinum 4.6.0 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Can you be a little more specific, I am not sure if I understood your question correctly
__________________
Version 4.7.6 X-cart Gold |
|||||||||
#4
|
|||||||
|
|||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Hello acidon,
I want to say that instead of hard coding in tpl or php file if u please create it as a module where we can define a offer like range of price. For example- Spend Rs.100/- to 200/- to receive 100 off on total cart value Spend Rs.200/- to 300/- to receive 150 off on total cart value If we can create the offer through some modules then I think it will be better.
__________________
X-cart Platinum 4.6.0 |
|||||||
|
#5
|
|||||||||
|
|||||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Quote:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#6
|
|||||||
|
|||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Quote:
Great... That is a great idea..If anyone can create this module that I think will be better...
__________________
X-cart Platinum 4.6.0 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
I guess Qualiteam announced such of module in the roadmap. Buy More Save More.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
|
#8
|
|||||||
|
|||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Quote:
But that will release on February 201.But if Mike can help by contributing a free module I think that will be better.
__________________
X-cart Platinum 4.6.0 |
|||||||
|
#9
|
|||||||||
|
|||||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
Quote:
Sure go ahead, I knew this module is scheduled to be released by QT soon, that's why I didn't bother to create a module and only provided a quick hardcoded fix
__________________
Version 4.7.6 X-cart Gold |
|||||||||
|
#10
|
|||||||||
|
|||||||||
Re: Buy More, Save More Popup Message (4.6.0 and up)
I was not aware that QT had this planned, must have missed that. No need to reinvent the wheel, I think QT will do a much better job than I was planning.
I'll look for another idea to make my tutorial with, I would like to share with the community what I know about making modules.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|