mikelastphoto
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product Variationshttps://bountify.co/wp-theme-woocommerce-js-issue-cannot-read-property-of-undefined has the answer.
Take the JS from the file add-to-cart-variation.js and find the line with:
all_variations = window[“product_variations_” + product_id];
and move it to the top of the 3 similar items in that section.Then take everything from add-to-cart-variation.js and paste it into add-to-cart-variation.min.js.
The only problem is, auto-updates from WooCommerce break it again, and you need to go back and change the order of the variations and overwrite the .min file.
A temporary solution until a more permanent solution arises.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product VariationsNo problem John. I paid $5 to get it figured out and had the guys at Woo pull it in for the future.
https://bountify.co/wp-theme-woocommerce-js-issue-cannot-read-property-of-undefined – has the specific problem line.
Unfortunately, that line HAS to be the top line of the three for my theme, so if I automatically upgrade WooCommerce, I need to go back and make that in the JS file. Just a heads up.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product VariationsTorn between starting a new thread and keeping this one going… as I’m pretty far off the original request now….
Has anyone had an issue with Breadcrumbs not showing in the store? I’ve poured over the settings on the backend and dont see anything to turn them on/off in there that might have been changed by accident. Still looks to be in the hooks, but never ends up in the front end.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product Variations2 for 2. Thanks!
Had forgot to update a conflicting class name on the JS side of woocommerce and had done the CSS side.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product VariationsDamn, theres no edit button? https://www.connectedinmotion.ca/shop/connected-green-t/
Forum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product VariationsForum: Plugins
In reply to: [WooCommerce] Add to Cart Missing for Product VariationsI was being lazy… fixing that JS issue solved my problem.
I’ve got one bug left to fix, hoping I could get some help on it.
On my product pages, the switching tabs with Product Description don’t do anything. All three have a
style="display:none";
hiding all of the text inside them. Doesn’t seem right to me. Might be a conflict with my theme, but not sure what’s happening here.