If a user clicks on checkout in the header, they dont get to see the shopping cart where they can apply voucers/coupons/reward points
This mod alerts the user and gives them the option of visiting the cart to apply vouchers etc or continue on to checkout.
Tested on 1.5.x
This mod alerts the user and gives them the option of visiting the cart to apply vouchers etc or continue on to checkout.
Tested on 1.5.x
Very useful. Thanks
ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
Works Like a Charm! But the pop-up windows can be more beautiful, it will be better. I guess I am just being too picky 

"We help each other to grow". That's the opencart community!
All free mods
Home Based Ebay business Opportunity(not ads)
Sure it was just a quick mod that uses basic javascript alert/confirm function.
Which is fine until (hopefully) vouchers etc get put back in to the checkout flow.
Which is fine until (hopefully) vouchers etc get put back in to the checkout flow.
If you also want to incorporate this fix for the MiniCart popout in the header, download this vQmod as well:
http://forum.opencart.com/viewtopic.php ... 41#p183682 (the 2nd post)
http://forum.opencart.com/viewtopic.php ... 41#p183682 (the 2nd post)
For anyone who tried this and it didn't work - it may be because you are using another theme besides the default. Just edit both the contributed both files, changing this path (replacing "MYTHEME" with your theme folder name):
For the header:
catalog/view/theme/default/template/common/header.tpl
to point to your theme file instead:
catalog/view/theme/MYTHEME/template/common/header.tpl
or for the mini cart:
catalog/view/theme/default/template/common/cart.tpl
to point to:
catalog/view/theme/MYTHEME/template/common/cart.tpl
Thanks UKSB so much for this fix, by way! . :-)
For the header:
catalog/view/theme/default/template/common/header.tpl
to point to your theme file instead:
catalog/view/theme/MYTHEME/template/common/header.tpl
or for the mini cart:
catalog/view/theme/default/template/common/cart.tpl
to point to:
catalog/view/theme/MYTHEME/template/common/cart.tpl
Thanks UKSB so much for this fix, by way! . :-)
Using OC v1.5.4.1 with Evisu Theme
I noticed previously in a module, the MYTHEME was replaced by an '*'', and the module worked.
Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/
just tested it with opencart 1.5.2.1 and gosh, the page was twisted and messed up. I guess this line of code is causing the problem :
Have tried but just was not able to fix the problem.... Any idea how to fix it? thx
Code: Select all
javascript:if(confirm('Checkout\n---------------\n\nBefore proceeding to Checkout, if you would like to apply a Gift Voucher, Discount Coupon or Rewards Points to your order, please click \'Cancel\' to go to the Shopping Basket to apply it.\n\nIf you would like to proceed without redeeming a Gift Voucher, Discount Coupon or Rewards Points, please click \'OK\' to continue to the Checkout.')){location.href='<?php echo $checkout; ?>';}else{location.href='<?php echo $cart; ?>
"We help each other to grow". That's the opencart community!
All free mods
Home Based Ebay business Opportunity(not ads)
marcelwoo wrote:just tested it with opencart 1.5.2.1 and gosh, the page was twisted and messed up. I guess this line of code is causing the problem :
Have tried but just was not able to fix the problem.... Any idea how to fix it? thxCode: Select all
javascript:if(confirm('Checkout\n---------------\n\nBefore proceeding to Checkout, if you would like to apply a Gift Voucher, Discount Coupon or Rewards Points to your order, please click \'Cancel\' to go to the Shopping Basket to apply it.\n\nIf you would like to proceed without redeeming a Gift Voucher, Discount Coupon or Rewards Points, please click \'OK\' to continue to the Checkout.')){location.href='<?php echo $checkout; ?>';}else{location.href='<?php echo $cart; ?>
yes iam having the same problem is there going to be a fix please

Who is online
Users browsing this forum: No registered users and 3 guests