Cart Save addon

10.06.2013 13:54
#1
gossen
Joomshopping forum user no avatar
Name: Gos
31.05.2013
Posts: 5
Quote
Cart Save addon

Hello,

first of all, thank you very much for this great webshop. I like it alot.
I bought two addons, Addon-min-max-quantity-product and Addon-jshopping-save-cart.
The min max quantity works great. But I misunderstood the Save Cart addon. I thought it saved the order so a user can use that order again and again (for recurring same orders), but when a order is placed, the cart is emptied and the saved order is gone. It's for a website where people order lunches. Most of the time these orders are the same, so I hoped this addon saved a order for reuse.

I hope I explained it good enough.

Can I still use the save cart for what I want? Or is what I want not possible (yet)?


Joomla: 3.1.1
JoomShopping: 4.2.2
PHP: 5.3.3-7+squeeze3
Website Url: localhost
 
10.06.2013 15:16
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Cart Save addon

Cart Save addon - save cart after close brouser...



Change code
components\com_jshopping\controllers\checkout.php

delete rows

$cart->clear();
$checkout->deleteSession();

 
11.06.2013 15:45
#3
gossen
Joomshopping forum user no avatar
Name: Gos
31.05.2013
Posts: 5
Quote
Aw: Cart Save addon

Thanks for your quick response, but it doesn't seems to work. It stills clears the cart after the order is ordered. FYI: I edited checkout.php in components/com_jshopping/controllers/ I removed lines 1251 and 1252 $cart->clear(); and $checkout->deleteSession(); Some piece of code still empties the cart, but I can't find where this is happening.

Help is appreciated :)

Thanks.

 
11.06.2013 16:17
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Cart Save addon

+
plugins\jshoppingcheckout\jshopping_save_cart\jshopping_save_cart.php

delete
public function onAfterDisplayCheckoutFinish() {
............
}

 
11.06.2013 16:31
#5
gossen
Joomshopping forum user no avatar
Name: Gos
31.05.2013
Posts: 5
Quote
Aw: Cart Save addon

Whoohoo :)

Thanks allot. That worked like a charm!

GreetZ Gossen

 
Copyrights MAXXmarketing GmbH. All Rights Reserved