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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro "calculateOriginalPrice" is not defined and Variable "applied_promotions" does not exist #125

Open
zefyx opened this issue Jun 6, 2024 · 1 comment

Comments

@zefyx
Copy link

zefyx commented Jun 6, 2024

Hello,
first thank you for maintaining this project.

After installing your recent version v1.1.0 in a new Sylius v1.13.1 we found two small issues.
Macro "calculateOriginalPrice" is not defined in template "@SyliusShop/Common/Macro/money.html.twig".
Differences :
https://github.com/Sylius/Sylius/blob/v1.13.1/src/Sylius/Bundle/ShopBundle/Resources/views/Common/Macro/money.html.twig
https://github.com/SyliusCrafts/BootstrapTheme/blob/v1.1.0/templates/bundles/SyliusShopBundle/Common/Macro/money.html.twig

And
Variable "applied_promotions" does not exist.
Differences :
https://github.com/Sylius/Sylius/blob/v1.13.1/src/Sylius/Bundle/ShopBundle/Resources/views/Product/Box/_content.html.twig#L23
https://github.com/SyliusCrafts/BootstrapTheme/blob/v1.1.0/templates/bundles/SyliusShopBundle/Product/Box/_content.html.twig#L23

@oallain
Copy link
Member

oallain commented Jun 6, 2024

Thanks for your feedback.

Can you suggest a fix in pull request? Otherwise, I try to fix it as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants