Hi guys,
I was testing out gift voucher purchase and was going to checkout a gift voucher when the following error came out under “Unit Price” and “Total Price”
Notice: Undefined variable: avoucher in /catalog/view/theme/shoppica2/template/checkout/cart.tpl on line 108
Notice: Undefined variable: avoucher in /catalog/view/theme/shoppica2/template/checkout/cart.tpl on line 109
I have not modified anything other than changing footer text and logos.. have tried to replace the cart.tpl file again but to no avail…
Am on opencart 1.5.2.1 / shoppica 2
Thanks,
Jeremy
|
|
Hi,
it seems you found a tiny bug in Shoppica. In order to resolve it, open /catalog/view/theme/shoppica2/template/checkout/cart.tpl and replace $avoucher with $voucher . You need to make three replacements.
We have fixed the issue in our code repository. The fix will be provided with the next Shoppica update coming this week.
Regards,
ThemeBurn team
|
|
Hi TB,
Thanks for your help, its working now.
However there are 2 more things i would like to point out (See screenshot below)
1. The Gift Certificate row is somehow not aligned properly with the rest of the shopping cart items, before checking out.
2. Was testing the reward points system, when a customer does the following steps, he gets an error:
1. Adds X number of reward points to product.
2. Changes his mind and decides to remove points
3. Keys in 0 in the “Reward Points to use” textbox.
4. Cart prompts “Warning: Please enter the amount of reward points to use!”
Somehow, the cart doesn’t like people to change their minds.. lol
Please help.
Regards,
Jeremy
|
|
Hi Jeremy,
1) We’ve attached a fixed template for the improper alignment on the cart page. Just extract the appropriate file from the archive in catalog/view/theme/shoppica2/template/checkout/ folder.
2) The reward points behavior is the same on the default theme too. You can try to submit this issue in the opencart bug tracker (although this is not a bug) and hopefully Daniel will fix it in the next release
Best,
ThemeBurn team
|
|
Hi TB,
Brilliant! Its displaying nicely now…
Thanks for the fast response as always..
|
|
Glad we’ve helped, mate
Best,
ThemeBurn team
|
|