Clear Cart

04.01.2017 09:54
#1
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 355
Quote
Clear Cart - Add delete all in model cart delete function

Hi How can I activate Clear Cart in my basket.
I can still not delete all the order line in one go.

I'm using default template and JS Version 4.15.1

See also https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/2/11060.html?lang=en

Kind regards
Jacobsen


Last change: 04.01.2017 10:51
 
04.01.2017 12:24
#2
FrankG.
User FrankG.
Name: Frank
30.11.2011
Posts: 1488
Quote
Aw: Clear Cart

https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/1/11499.html?lang=de#4

 
04.01.2017 13:55
#3
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 355
Quote
Aw: Clear Cart

Isn't it suppose to be in the update, so I don't have to change the code myself.
There must be to option delete one order line or delete all the order line.

Kind regards
Jacobsen

 
05.01.2017 08:14
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 19629
Quote
Aw: Clear Cart

Create user_config.php
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/4668.html?lang=en#6

 
05.01.2017 13:09
#5
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 355
Quote
Aw: Clear Cart

Ok.

Thank you

But the solution - will it not be in the standard Joomshopping in the future?

Kind regards
Jacobsen

 
05.01.2017 13:28
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 19629
Quote
Aw: Clear Cart

Alredy standart.

 
05.01.2017 13:36
#7
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 355
Quote
Aw: Clear Cart

How can I activate it in the standard Joomshopping?

If I make Components\com_jshopping\lib\user_config.php
The I have to maintain it every time it's being updated. Or?

Can I also use Components\com_jshopping\lib\user_generete_pdf_order.php to overwrite the generete_pdf_order.php?

If I make/copy the config.php. Where can I add the lines and in witches position (line numbers) -For me it look like the allready in the Components\com_jshopping\lib\config.php see:
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/4668.html?lang=en#6

Kind regards
Jacobsen


Last change: 05.01.2017 14:09
 
05.01.2017 21:02
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 19629
Quote
Aw: Clear Cart

user_config.php

add code

<?php
$config->show_cart_clear = 1;

$config->file_generete_pdf_order = $config->path."lib/user_generete_pdf_order.php";


And

copy
generete_pdf_order.php
to
user_generete_pdf_order.php


Last change: 05.01.2017 21:20
 
06.01.2017 15:47
#9
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 355
Quote
Aw: Clear Cart

Hi Webmaster

Thank you.

I appreciate the help.

Kind regards
Jacobsen

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.