- catalog/view/theme/<your_theme>/template/common/cart.tpl file.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Vague information. What did you tried to edit in the code exactly from cart.tpl file?I tried to edit and reload but nothing changed.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Sorry for the vague. My current "checkout" link in the dropdown cart is the same as "my cart" link as checkout/cart
I would like to edit and change it to checkout/checkout
web: www.cosmoracing.com
Thanks,
I would like to edit and change it to checkout/checkout
web: www.cosmoracing.com
Thanks,
The default theme already redirects the checkout button from the common/cart.tpl file:
Since you are using a custom theme, ensure the $checkout variable is being used. If so already, then ensure that you haven't installed an extension that altered the route of the checkout since, according to your request, you'd like to keep the checkout/checkout route as it is.
to the checkout/checkout route initiated from the catalog/controller/checkout/cart.php file: <a href="<?php echo $checkout; ?>"><strong><i class="fa fa-share"></i> <?php echo $text_checkout; ?></strong></a></p>
Code: Select all
$data['checkout'] = $this->url->link('checkout/checkout', '', true);
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes, someone who has changed the default "checkout" link to the same as "my cart" link previously. Now I like to change it back but seems found no way to do it.
I checked the:
As well the same in the cart.php file:
*No other extension for such theme or cart as I know.
Thanks,
I checked the:
the same coding. <a href="<?php echo $checkout; ?>"><strong><i class="fa fa-share"></i> <?php echo $text_checkout; ?></strong></a></p>
As well the same in the cart.php file:
Also checked the custom theme cart.tpl the same coding. Scratching my head now!!$data['checkout'] = $this->url->link('checkout/checkout', '', true);
*No other extension for such theme or cart as I know.
Thanks,
If no effect is being taken after modifying your theme file, clear out your OC cache from the system/cache folder (except index.html file).
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 18 guests