| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
"Product Added" information box above product list when product is added to cart? | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
forgot about that white page...i will have a look at the cart php page again
|
|||||||
#12
|
|||||||||
|
|||||||||
Re: "Product Added" information box above product list when product is added to cart?
The popup message works great for a single product view (4.17 Crystal Blue), but don't work on the products list for the "buy it now" button. Any ideas here?
__________________
YankeeRoo Batteries, Battery Chargers & Precision Test and Measurement Equipment http://www.yankeeroo.com X-Cart components info: X-Cart version 4,2,1 X-AOM X-SpecialOffers PHP 5.2.5 MySQL server 5.0.32-Debian_7etch5 Web server Zeus/4.3 Operation system Linux Perl 5.008008 BCSE Order Processing Made Easy BCSE Preorder/Backorder |
|||||||||
#13
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
Jinkies! finally find something i can use.... but
Is there a way to get this alert message to appear for a few seconds then close? Yes yes, i know theres mods for sale. A bit tapped for now on the funds. Thanks all
__________________
4.4.3 One Page Checkout :: OnSale :: Download Expander Smart Template by X-Cart MODS |
|||||||
#14
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
you would have to use javascript popup window with a timer (or a div if you so choose) to close instead of an alert, since you can close a window (or div) but not an alert
|
|||||||
#15
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
err, thanks ineb
anychance on how to go about writing this? So far i havent touched much of javascript because im not familar withit. Only changes on things such as above i'll try. JS always seemed like the bully of the code not wanting to be bothered with. Thanx for your reply!
__________________
4.4.3 One Page Checkout :: OnSale :: Download Expander Smart Template by X-Cart MODS |
|||||||
#16
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
currently working on a customer's mod, so i would have to get back to this later on
|
|||||||
#17
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
I put up the mod at http://xcart-toolshop.com/itemaddedmsgmod.html
|
|||||||
#18
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
This code looks really promising. But I am a little confused by the code you provide after -
"now in a template and location you so choose, add..." Could you provide an example? What and where should that code be placed? Something like products.tpl? I would really like this to work in the products list. Also, would this mod be 4.1.2 and 4.1.9 compatible as I see you are using Pro 4.0.18. Thanks for your help
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#19
|
|||||||
|
|||||||
Re: "Product Added" information box above product list when product is added to cart?
its not product specific, so if you want to put it in products.tpl you can but it wont be on a per product basis, so you would put it before the {section}{/section} (or maybe it was {foreach}{/foreach}) loop or after...i would suggest putting it in the minicart, somewhere visible to the customer that wont get mixed up with other info
an item added to cart will imply that any item was added, so putting it next to a single product in a products list is not a good idea, which is why i suggested putting it before the loop you can make it product specific but that requires more code since you need to check not only for the product but match the product options as well this code was made for 4.1.x, 4.0.x should be similar but i havent bothered to look yet what this code does is it will display the message for 5 seconds once the script finishes loading (not to be mistaken for a complete page load) and then clears it, you can adjust the time if you so choose |
|||||||
|
|||
X-Cart forums © 2001-2020
|