Home › Forums › Basel support forum › Variable Product Error (after theme update)
Variable Product Error (after theme update)
- This topic has 10 replies, 2 voices, and was last updated 7 years, 7 months ago by Artem Temos.
-
AuthorPosts
-
April 6, 2017 at 4:52 pm #11866
JanukaParticipantToday I updated the theme to the latest version, also updated woocommerce. And In variable products (example) the size selector does not seem to work as it used to be. It does not show Selected size and also the button which said “Clear” is also gone.
Please guide me on how to fix this. I have attached a screenshot of how it functioned before the theme update.
April 6, 2017 at 4:55 pm #11867
JanukaParticipantHow it used be before theme update – screenshot attached.
Attachments:
You must be logged in to view attached files.April 6, 2017 at 5:10 pm #11870
Artem TemosKeymasterHi,
Could you please check how it works with default WP theme?
Regards
April 6, 2017 at 5:13 pm #11872
JanukaParticipantHey,
I am not sure what you mean. What exactly should I do ?
Just to be clear, as I showed in the screenshot, it worked fine before the update.April 6, 2017 at 5:39 pm #11874
Artem TemosKeymasterWe ask you to switch to default WP theme and check if variable products work at all.
April 7, 2017 at 1:15 am #11882
JanukaParticipant– The Variable product did work when I Disabled “Enable swatch” option on attributes.(The dropdown list works)
– When I switched to default WP Theme, then also swatches were automatically disabled and got the dropdown list. That also worked.So I think the problem is with “Enable Swatch”
In the original post I made you have the login info, if you need.
April 7, 2017 at 6:23 am #11894
Artem TemosKeymasterIt seems to be a problem with some optimization plugin installed on your website https://gyazo.com/6793471383d4ea8cb561d3fb7a4ec9a6
April 10, 2017 at 4:15 pm #12023
JanukaParticipantHey,
You were right.So, the problem is Rocket Loaderâ„¢, a service provided by CloudFlare that improves loading speed of pages that has javascripts.
I talked with CloudFlare, and they suggested that I disable that service only for the JavaScript files that are causing my problem.Could I know which JavaScript files are running to produce Variable Sizes/Selection ?
And where are they located ?April 10, 2017 at 5:56 pm #12026
Artem TemosKeymasterHi,
Our theme has only one JS file for all scripts in
js/theme.min.js
.Regards
April 11, 2017 at 5:25 am #12041
JanukaParticipantHi,
Last question. How do I make a global edit that apply to all inclusions oftheme.min.js
.
So the end result will be, whenever this script is included in a page it will have this custome tag in the way I have shown below.<script data-cfasync=”false” src=”/theme.min.js”></script>
If global edit is not possible, I would at least want this setting to apply in all individual Product pages.
April 11, 2017 at 6:24 am #12049
Artem TemosKeymasterHi,
Sorry, but there is no such option in our theme. JS files are included by WordPress and we just register it in our theme code but can’t change its output tag.
Regards
-
AuthorPosts
Tagged: theme update, variable product
- You must be logged in to create new topics. Login / Register