Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Redirect customer to cart question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-28-2005, 09:21 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default 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?
Reply With Quote
  #2  
Old 11-29-2005, 03:55 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That is normal, although not ideal
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-29-2005, 11:14 AM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

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
Reply With Quote
  #4  
Old 11-29-2005, 12:18 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

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
Reply With Quote
  #5  
Old 11-29-2005, 12:22 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #6  
Old 11-29-2005, 12:33 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

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.
Reply With Quote
  #7  
Old 11-29-2005, 04:14 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

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?
Reply With Quote
  #8  
Old 11-29-2005, 04:19 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

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.
Reply With Quote
  #9  
Old 11-29-2005, 05:15 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

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.
Reply With Quote
  #10  
Old 11-29-2005, 05:18 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

No prob of course

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}
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:37 AM.

   

 
X-Cart forums © 2001-2020