Opencart: No image of voucher at cart page & checkout page

Created on 13 Jan 2020  路  4Comments  路  Source: opencart/opencart

What version of OpenCart are you reporting this for?
Version 3.0.3.2

Describe the bug
A clear and concise description of what the bug is
What section does it affect?
When you try to place an order for voucher
https://demo.opencart.com/index.php?route=account/voucher
after adding the voucher successfully the image is not appearing as defined in the admin section
image

Screenshots / Screen recordings
image
image

Most helpful comment

the image appears in the email

All 4 comments

the image appears in the email

Hi @danielkerr

thanks for the response, don't you think the image should be displayed at the cart and the checkout "image" column??

Thanks

Perhaps a 'yes' or 'no' option should be added in the form from the admin to avoid users asking either how to add / remove this option in the future from the cart or from the checkout page (checkbox list options as admin - > systems - > settings - > add / edit settings - > Mail tab has already).

For now, I modified my forked namespace (opencart) with the following files:

  • catalog/controller/checkout/cart.php
  • catalog/view/theme/default/template/checkout/cart.twig
  • catalog/controller/account/voucher.php
  • catalog/controller/checkout/confirm.php
  • catalog/view/theme/default/template/checkout/confirm.twig
  • catalog/controller/common/cart.php
  • catalog/view/theme/default/template/common/cart.twig (must ensure the custom theme fits if adding this part)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

danceleisure picture danceleisure  路  3Comments

nasserman picture nasserman  路  5Comments

tarranjones picture tarranjones  路  6Comments

calderwood picture calderwood  路  3Comments

RadhikaMayani picture RadhikaMayani  路  3Comments