view default coupon
-
- Phoca Professional
- Posts: 189
- Joined: 12 Feb 2015, 13:30
Re: view default coupon
Modul kosik (phoca cart cart module) pod tovarom je link: "view cart - checkout" - tam je spravna url.
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: view default coupon
Testuju to teď, oba dva jsou standardní linky na checkout renderovaný metodou getCheckoutRoute. Ten problém asi bude tím menu linkem do kategorie, což ase ale nedá nijak ovlivnit
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 189
- Joined: 12 Feb 2015, 13:30
Re: view default coupon
Ahoj, tento problém sa mi podarilo vyriešiť tak, že som zmenil link na checkout v controllers/checkout.json.php tak isto ako to je v layouts/cart_cart.php.
controllers/checkout.json.php:
controllers/checkout.json.php:
Code: Select all
$d['link_checkout'] = Route::_(PhocacartRoute::getCheckoutRoute((int)$item['id'], (int)$item['catid']));
na
$d['link_checkout'] = Route::_(PhocacartRoute::getCheckoutRoute());
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: view default coupon
OK, díky za info.
If you find Phoca extensions useful, please support the project