Najam Sajid Posted January 11 Share Posted January 11 I'm experiencing a critical issue on PrestaShop 8.1.1 and 8.1.7 where changing a product variation (e.g., size or color) causes the product URL and main image to switch to a related product displayed on the product page but the product name remains same as you can see in the screenshot. This only happens when any related products module is enabled or related products are manually added in the Back Office. Has anyone encountered this issue before? What could be causing the product ID or image to incorrectly update to a related product when selecting a combination? Please Help Example:Before selecting another variation: After selecting the variation: Link to comment Share on other sites More sharing options...
restaurantsinmultan7 Posted January 11 Share Posted January 11 It sounds like a conflict between the related products module and the product combination handling in PrestaShop. This issue could be related to how the combination selection is influencing the JavaScript or PHP logic that controls the product details, like the image and URL. I suggest checking for any overrides or customizations in the related products module that might be altering product data when combinations are selected. Also, try disabling the related products module temporarily to see if the problem persists, which could help isolate the cause. Link to comment Share on other sites More sharing options...
juanrojas Posted January 11 Share Posted January 11 Hello, according to what you say it seems that the problem must be related to your template, consider writing the developer 1 Link to comment Share on other sites More sharing options...
mubbshirulhassan45 Posted January 11 Share Posted January 11 It sounds like a conflict with the related products module. Try these steps: Clear your PrestaShop and browser cache. Disable the related products module to see if the issue stops. Check product combinations and image mapping. Ensure there are no custom code conflicts. If the issue persists, consider updating PrestaShop or reaching out to support. 1 Link to comment Share on other sites More sharing options...
Najam Sajid Posted January 12 Author Share Posted January 12 Thank you everyone for responding.I am still looking for a solution! Link to comment Share on other sites More sharing options...
Najam Sajid Posted January 12 Author Share Posted January 12 On 1/11/2025 at 7:42 AM, juanrojas said: Hello, according to what you say it seems that the problem must be related to your template, consider writing the developer Expand I will do this but can you suggest which part of code should I look ? I want find and learn. Can you just guide me please? Thank you so much. Link to comment Share on other sites More sharing options...
Najam Sajid Posted January 12 Author Share Posted January 12 On 1/11/2025 at 9:06 AM, mubbshirulhassan45 said: It sounds like a conflict with the related products module. Try these steps: Clear your PrestaShop and browser cache. Disable the related products module to see if the issue stops. Check product combinations and image mapping. Ensure there are no custom code conflicts. If the issue persists, consider updating PrestaShop or reaching out to support. Expand I have tried different modules for related products. I have try adding related products from back office (where we add/edit products) but when I remove or disable it then there is no issue. in fact these modules works well in other sites. I will look for the rest of your suggestions. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now