| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
"Product Added" information box above product list when product is added to cart? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Could anyone tell me how I would go about making an information box appear when an item has successfully added to the cart. i.e "Product has been added to your cart"
My website does not redirect to product details page, it just list all products on the page so ideally I want the message to displays above the products list when item has been added. I have had a look around the forums but no-one seems to have a solution. All help gratefully recieved.
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#2
|
|||||||
|
|||||||
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thank you for your response, however this isn't really what I want.
When the product is added to minicart.tpl from my product list, I would like to display a "product added" message in the same page as the products being viewed. Example: 1. The customer selects category from menu 2. The list of products in that category appear on multiple pages 3. The customer presses Add to Cart button of desired product in product list 4. The cart updates (mincart.tpl) 5. A"product added" message is displayed above product list (like when you save something in x-cart admin?) or perhaps as some type of pop-up box that sits at the mouse position (javascript perhaps?) I believe istockphoto.com is a good example of what I would like. When you add an image to a lightbox (wishlist) a box appears at the cursor with the option to save product to lightbox. When item is saved to lightbox the message box at the cursor displays "item added" I hope this makes sense. Again, any help would be gratefully recieved
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#4
|
|||||||
|
|||||||
![]() Lads, i am looking for the same thing. I can appreciate what X-Cart ezUpsell #96 does, but is overkill perhaps for what we are looking for. After adding an item i dont redirect my clients to the checkout.
Personally all I require is either a popup that says " Item added to cart" or even a similar message that appears on the refreshed item description page, that gives soem sort of notification. Currently my users get confused if the item has actually been added, when they clcik the add to cart button. We have a great Brain pool here - Any suggestions much appreciated.
__________________
Version 4.7.7 |
|||||||
#5
|
|||||||
|
|||||||
![]() in product.tpl
find Quote:
and replace with Quote:
|
|||||||
#6
|
|||||||
|
|||||||
![]() I tried the above but it didn't seem to work? The site I would like to implement this change is a 4.1.2 site, maybe that's why?
Where should the alert be seen? Any further help would be great...I am really hoping to solve this one. It would solve alot of customer confusion Cheers
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#7
|
|||||||
|
|||||||
![]() Fantastic - this worked a treat for me (V4.0.19). Just what i needed - the brains trust comes to the rescue again
![]()
__________________
Version 4.7.7 |
|||||||
#8
|
|||||||
|
|||||||
![]() Confirm also works in 4.1.8
__________________
Version 4.7.7 |
|||||||
#9
|
|||||||
|
|||||||
![]() i would recommend against the code i gave you before, since i believe the alert will still come up when there is an error with adding the product
instead in include/cart_process.php (or cart.php for 4.0.x), after Code:
echo "<script>alert('Product has been added.')</script>"; |
|||||||
#10
|
|||||||
|
|||||||
![]() New code works like a charm. Thanks so much!!
I was wondering however if there is any way to display this alert box without/before the refresh. At present when customer presses "add to cart" a white page and the alert follows and a "if page does not refresh...etc" page displays . I would like to achieve the following.... 1. The add to cart button is pressed, 2. Alert box is displayed on the current page rather than on the blank. 3. Customer presses ok on alert box 4. Then site refreshes - if it has to. This would be a fantastic additive to X-cart, if the box could be displayed on current page where customer is adding product from. I know I've been waiting for this for ages!!!!! All help greatfully recieved.
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|