Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [BUG] - [FIX] add Discount voice to modal-success.tpl of is_shoppingcart #364

Open
maofree opened this issue Jan 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maofree
Copy link
Sponsor

maofree commented Jan 8, 2024

Description

Hi
there is a case when the voucher is added automatically on the cart, and it happens when the voucher is without the code
6

in this case it is useful to see the Discount value in the pop shown after adding a product to your cart

7

can you add this code in modal-success.tpl ? I think it is useful for everyone

3

{if !empty($cart.subtotals.discounts.value)} <div class="cart-summary-line mb-2"> <span class="label">{$cart.subtotals.discounts.label}</span> <span class="value">{$cart.subtotals.discounts.value}</span> </div> {/if}

thanks
bye

Node.js version

v16

php version

8.1

OS and it's version

linux

Browsers

Chrome

Required module/theme

is_shoppingcart 3.0.1

Reproduction steps

1. Go to modal-success.tpl

Logs

No response

@maofree maofree added the bug Something isn't working label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant