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

Bring product features in quickview when combinations exist #5975

Conversation

Quetzacoalt91
Copy link
Member

Questions Answers
Branch? develop
Description? Bring the feature available on the product page when the customer select another combination (Page update ...)
Type? bug fix
Category? FO
BC breaks? Nope
Deprecations? Nope
Fixed ticket?
How to test? On a product quickview, you should not have to click 10 times before another color is selected. Choosing another combination must update the quickview content (Images, availability, price etc.)

@vincentbz
Copy link
Contributor

Tested and ok, thanks !
Tested with images, prices, availability, combinations...

@prestonBot prestonBot added the QA ✔️ Status: check done, code approved label Aug 9, 2016
@mickaelandrieu mickaelandrieu merged commit 6e0b70c into PrestaShop:develop Aug 10, 2016
@mickaelandrieu
Copy link
Contributor

thanks @Quetzacoalt91

{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}

{block name='product_add_to_cart'}
{include file='catalog/_partials/product-add-to-cart.tpl'}
{/block}

{block name='product_refresh'}
<input class="product-refresh" data-url-update="false" name="refresh" type="submit" value="{l s='Refresh' d='Shop.Theme.Actions'}" hidden>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the hidden as an attribute wanted?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the JS file checks the existence of this input in the DOM in order to launch the auto refresh, but the customer won't need to interact with it directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA ✔️ Status: check done, code approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants