-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Updating cart with empty qty removes buttons #2379
Comments
can you please explain what buttons? The go to checkout or the remove/update button of each product item in the cart? |
do you see any error message in the logs or the browser console? Can you also check if the buttons are there in the HTML markup but somehow not displayed (e.g. malformed HTML)? |
The HTML is invalid (e.g. the
</div>
<div class="submit_container">
<?php foreach($this->actions as $action) echo $action->generate($this->collection).' '; ?>
</div>
</form> |
did you adjust the template? If there are no actions, the form should not be rendered, but there's a second section at the top of the template. |
Is there any online vanilla Isotope demo? The one available for download at https://www.isotopeecommerce.org/en/demo.html is rather old and can't really be installed on a new 4.13 setup - too many issues with data dump |
unfortunately we don't have a live demo. You could try to install 4.9 and then update to 4.13 though. But also thanks for reminding me we should update the demo 🙈 /cc @netzarbeiter |
Not that easy it seems.... $ composer create-project contao/managed-edition example 4.9 && \
cd example && composer r -W isotope/isotope-core:2.7 && \
curl -LO https://github.com/isotope/demo/archive/master.zip && \
composer config repositories.demo artifact . && \
composer r -W isotope/isotope-demo Then, importing the demo data via ¯\_(ツ)_/¯ |
The new demo is now based on Contao 4.13 and Isotope eCommerce 2.8. |
Cool. Thank you.
|
Everything is fine with the dump, please follow the instructions to install the demo. |
fixed in 511f4e9 |
I can confirm it works in our installations as well, thanks! |
Steps that will reproduce the problem?
What is the expected result?
The items gets removed or the input gets ignored.
What happens instead?
The buttons are missing.
Possible workaround:
Open the URL again (reload doesn't work)
Any additional information:
The root cause is here
core/system/modules/isotope/library/Isotope/Module/AbstractProductCollection.php
Line 113 in 601ca84
core/system/modules/isotope/templates/collection/iso_collection_default.html5
Line 101 in 601ca84
The text was updated successfully, but these errors were encountered: