Viewing 15 replies - 1 through 15 (of 32 total)
  • Roy Ho

    (@splashingpixelscom)

    Looks to me its caused by your theme. Switch to 2012 theme and re-test.

    Thread Starter abductedrecords

    (@abductedrecords)

    is there something specific you see in the theme or are you just saying that because its a modified layout?

    vark

    (@vark)

    Hi,
    You’ve got 2 different sets of JS errors. 1st is a prettyphoto error which pops up then is superseded by

    Timestamp: 2/23/2014 1:42:03 PM
    Error: Error: Permission denied to access property 'toString'

    Disabling all your js will not, I believe, be a reasonable test, as if memory serves, woo needs js to supply the variation pricing.

    Roy Ho

    (@splashingpixelscom)

    I see in the error console.

    evanspj

    (@evanspj)

    I have the same problem.

    On a WooCommerce variable product type with multiple variations the ADD TO CART button is not shown e.g.
    https://emarkingassistant.com/product/emarking-assistant-1-year-license-with-multi-user-discount/
    On the same site where there is a simple product the ADD TO CARD BUTTON is shown e.g,.
    https://emarkingassistant.com/product/sample-test-product/

    This problem seemed to appear when I upgraded to WC 2.1.2

    If anyone has a suggestion for how to resolve this I would be VERY thankful

    Peter Evans emarkingassistant.com

    Roy Ho

    (@splashingpixelscom)

    Check that each variation has a price. Woo won’t show add to cart or the variations in the dropdowns if the prices are not present for each product variation.

    evanspj

    (@evanspj)

    @leehodson … yes each of the variations has a price.

    @roy … I installed your plugin but the ADD TO CART button still is not displayed when I go to the page but… BUT see below

    I have established another test variable price product and found the following. The ADD TO CART is NOT displayed when the page is first displayed BUT it is displayed as soon as I pick one of the variations. You can see this at:
    https://emarkingassistant.com/product/sample-variable-product/

    On a WooCommerce variable product type with multiple variations the ADD TO CART button is NOT shown e.g.
    https://emarkingassistant.com/product/emarking-assistant-1-year-license-with-multi-user-discount/

    On the same site where there is a simple product the ADD TO CARD BUTTON is shown e.g,.
    https://emarkingassistant.com/product/sample-test-product/

    Does anyone else have any suggestions for troubleshooting this??

    Any and all assistance gratefully received.

    Peter Evans

    Roy Ho

    (@splashingpixelscom)

    @evanspj – trust me the plugin worked. You previously had JS errors of jQuery cookie not found. The plugin fixes that.

    And yes that is how add to cart works. You must select a variation before the add to cart shows.

    Have you set a default product out of your variations so that one variation shows when the page first loads?

    evanspj

    (@evanspj)

    The problem now appears to be solved. The difficult bit was working out which was the right problem or how they interacted.

    Yes, the https://splashingpixels.com/woocommerce-jquery-cookie-js-error/ plugin does indead work … thank you @roy

    But another issue that caused me to wander up and down blind alleys was I had a short code in some commented out HTML which appears to have been stopping some JS on the WooCommerce page to work. I naively thought that if the short code was in a HTML comment i.e. <!– [theShortCode] –> then it would not be called.

    Oh Well,
    Peter Evans

    Lee

    (@diondeville)

    Glad you got it resolved.

    Little tip re shortcodes, WP won’t parse shortcodes that are double bracketed e.g. shortcode though the shortode tag will display on the front end of the site. HTML comments added in the text editor (not the visual) shouldn’t display on screen at all.

    Thread Starter abductedrecords

    (@abductedrecords)

    Damn, its a theme issue. well this will be fun to troubleshoot ??

    Hello- We are having the same issue with our variable product pages not containing the “Add to Cart” button. Non-variable items are fine.

    We have added the Woocommerce-jquery-cookie plugin AND confirmed that all variables (in this case sizes) contain a price…NO LUCK!

    Have any of you found any additional leads? Yes, our plugin and site theme are up-to-date.

    THANKS!

    Same here! I am using Mystile 1.2.17 Framework 5.5.5 and WooCommerce 2.1.6

    Everything had been fine but sometime recently I lost all the “Add to Cart” button on all variable products. I have done various fixes found online from modifying my function.php folder to trying to find my /woocommerce/simple-product/add-to-cart.js file to delete (which didn’t exist in my Directory)

    What is going on? Why did we lose this functionality and there seems to be no clear answer on how to fix it?

    https://americanmadeglasspipes.com/product/white-gandalf-pipe/

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Variable Product not showing ADD TO CART (Yes ive tried all fixes listed)’ is closed to new replies.