Fix the issue the +/- not working on Porto theme when choosing a size

Created by Rosa Truong, Modified on Thu, 17 Mar 2022 at 03:41 PM by Rosa Truong

Issue:

 

I bought the module and it is working very nice.

However I found another problem with regards to adding products to the cart,  if you load a product page you can add via + / - qty to add to the cart, but as soon as you choose a size the + and - is not working anymore.

Can you see what causes this problem?


Solution: 


The issue happens due to the conflict with the Porto theme on the site.

The module re-renders the HTML, so the 2 buttons in the re-rendered block lose their binding.

To solve this conflict, please change this file

app/design/frontend/Smartwave/porto/Magento_Theme/web/js/theme.js

Please check and apply the attachment on the site.


If you have any issues, please feel free to contact us.

We'd like to help.


Attachments (1)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article