EmicoEcommerce / Magento2Tweakwise-archived

Magento 2 module for Tweakwise integration
Other
9 stars 25 forks source link

Upsell and Crossell blocks not displayed after product save #23

Closed VesnaS closed 6 years ago

VesnaS commented 6 years ago

Hello,

We have one issue with the latest version of the extension. As I understood, upsell and crosssell templates can be configured in 3 places:

When displaying upsell and crosssell on product view page, if Tweakwise templates aren't configured on the product level, extension tries to load them from the category that the product belongs to. If category doesn't have associated templates, then the ones configured in the general configuration are used. In this case, upsell and crosssell blocks are displayed correctly. But, if someone than saves product in admin, without changing anything related to Tweakwise templates, upsell and crosssell products are not displayed on frontend anymore.

Steps to reproduce

Environment

Magneto 2.1.6 Latest version of the extension PHP 7

Fgruntjes commented 6 years ago

Thank you for the issue report, we have managed to found and fix the bug.