| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Continue Shopping | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Elomibao, on that last piece of code you posted ... what tpl did you apply that too ?
Thanks
__________________
http://www.VitaManCafe.com There is Nothing \"General\" about our Nutrition Center! X-Cart version 3.5.1 | Operation System Linux http://www.exercisewisdom.com X-Cart Gold Version 4.0.1 | Operation System Linux |
|||||||
#22
|
|||||||
|
|||||||
Quote:
The last one? cart.php roccons, You're right. The solution I posted will have the Continue Shopping button taken out once a product has been removed from the cart.
__________________
X-Cart Pro 4.0.5 Fedora Core 2 Apache 2.x/PHP 4.x MySQL 3.x |
|||||||
#23
|
|||||||
|
|||||||
Elomibao - you listed "Redirect" code in an earlier post. Where do I find this code to make the change you suggested?
Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#24
|
|||||||||
|
|||||||||
I've created a mod that uses a redirect landing page which makes it clear the product was added, gives them the option to continue shopping, checkout, and uses the links you set in upselling to encourage them to purchase the related products.
For more information or to demo visit: http://www.websitecm.com/store/customer/product.php?productid=84 |
|||||||||
#25
|
|||||||
|
|||||||
jkirkpatrick,
In cart.php, look for this chuch of code: Code:
replace: Code:
with: Code:
Jon, Interesting solution. You don't get redirected to a cart but a page that allows you to continue shopping or checkout. There are advantages and disadvantages to this. It's all up to them what to implement. Nice work.
__________________
X-Cart Pro 4.0.5 Fedora Core 2 Apache 2.x/PHP 4.x MySQL 3.x |
|||||||
#26
|
|||||||
|
|||||||
well, I think many of these solutions are not working or too complicated. I just added to customer/main/cart.tpl the following code:
Code:
right above the code Code:
it is in around line 99 in my file (version 4.0.11). This is the original xcart code from the invoice page, there is already a Continue Shopping button. Andy
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#27
|
|||||||
|
|||||||
Your solution only redirects the shopper to the home page. Not exactly what other people wanted. Some people wanted to get redirected to the last Category they shoped from. No sense in going back to the home page and re-clicking the categories to get back to where you came from.
Again, it's up to them what to implement. And I think some of the solutions posted above are pretty straight forward and very easy to implement.
__________________
X-Cart Pro 4.0.5 Fedora Core 2 Apache 2.x/PHP 4.x MySQL 3.x |
|||||||
#28
|
|||||||
|
|||||||
Well, I wasn't critizising the other solutions, they are actually pretty neat but with some drawbacks.
I just look at this: Quote:
Quote:
Quote:
Why do we assume the visitor want to go back to the same category he came from? We don't know that for sure but we know for sure if he want's to resume shopping he want's to stay in the shop, not in the very first page but in the shop. Again, all solutions may work well in one or another way, to make sure it works in all cases - no matter what browser is used - let them go with a simple link back to the shop start page. I think we all agree: this shouldn't be any matter for a custom mod, this should be included in the standard XC code as many other nice and smart solutions we all can find in this forum - it is not my intetion to make any code looking bad, if you and all the other ones felt that way... I apologize, I just wanted to add another, very simple and "works always" solution, Andy
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#29
|
|||||||
|
|||||||
Sorry if I sound as if I was offended. I wasn't. If you look at my first reply on this thread (located on the first page), there were conditions and situations where I mentioned how shopping should work the way I wanted it. If an x-cart user wanted the same thing, then good. If not, it's good also because there were other solutions that we're available.
It's all good.
__________________
X-Cart Pro 4.0.5 Fedora Core 2 Apache 2.x/PHP 4.x MySQL 3.x |
|||||||
#30
|
|||||||||
|
|||||||||
Easy continue shopping botton
I changed the javascript to go back two pages, using this code, I also inserted this in the same place andreas04031 did just gives me a standard button which takes customer back to Category.
Insert this Code:
Above This in your /customer/main/cart.tpl Code:
or if you dont have any mods on cart.tpl just replace cart.tpl with this: Code:
Thanks to andreas04031 viewable on my store (not live) http://shop.swordmart.co.uk
__________________
X-cart 4 gold PHP version 4.3.10 MySQL version 4.0.23-standard Apache version 1.3.33 (Unix) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|