X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Redirect customer to cart question (https://forum.x-cart.com/showthread.php?t=18276)

Light Speed 11-28-2005 09:21 PM

Redirect customer to cart question
 
When I disable "Redirect customer to cart" in general settings and a customer clicks add to cart they are no longer sent to the cart each ime they add a product which is fine and what I want but the problem i am having is when they add an item to their cart they do not get a message or acknowledgment that their item has been added to the cart except for the mini cart cart item number which could be off screen. Is this normal for 4.0.16 or should they be seeing something near the add to cart button letting them know that the item was added?

balinor 11-29-2005 03:55 AM

That is normal, although not ideal :)

Light Speed 11-29-2005 11:14 AM

Quote:

Originally Posted by balinor
That is normal, although not ideal :)


Thanks for the validation.

Looks like I will be hopping over to the 4.1 beta thread to make a request :)

Jon 11-29-2005 12:18 PM

We do have a solution built for this. It tells them a product has been added, upsells them products, and provides a link to return to the category or checkout.

http://www.websitecm.com/customer/product.php?productid=84

pauldodman 11-29-2005 12:22 PM

I thought I'd seen a mod for this somewhere - if you are not redirecting to the cart, without this, customers are going to get pretty confused, not knowing if they have chosen a product or not.

Light Speed 11-29-2005 12:33 PM

Quote:

Originally Posted by Jon
We do have a solution built for this. It tells them a product has been added, upsells them products, and provides a link to return to the category or checkout.

http://www.websitecm.com/customer/product.php?productid=84

Thanks. I will check it out.

Light Speed 11-29-2005 04:14 PM

Checked it out and it doesn't do what I am looking for.

I want the customer to stay on the product page and just a message to appear near the add to cart button that says your product has been added. I don't want the customer sent to an added page or to the cart page and I also don't want a javascript message with an ok button as that is too invasive.

Can this be done with an if statement? What could I check to trigger the showing of the text?

Jon 11-29-2005 04:19 PM

It would take a bit of modification. You'd have to edit your cart.php to attach a variable to the redirect, and read the variable in your skin1/customer/main/product.tpl to display the message. We could create this mod for you relatively inexpensively if you are unsure how to do it - just PM me.

Light Speed 11-29-2005 05:15 PM

Quote:

Originally Posted by Jon
It would take a bit of modification. You'd have to edit your cart.php to attach a variable to the redirect, and read the variable in your skin1/customer/main/product.tpl to display the message. We could create this mod for you relatively inexpensively if you are unsure how to do it - just PM me.


Thanks for the offer :)

I am going to poke at it for a bit on my own. If I get stuck I might contact you about making a mod for me.

Jon 11-29-2005 05:18 PM

No prob of course :D

If you append &addedtocart=1 to the redirect in cart.php you can use this code in your product.tpl

{if $smarty.get.addedtocart eq "1"}
Show Message
{/if}


All times are GMT -8. The time now is 11:02 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.