WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
add-to-cart form validation, variable products, and add ons (2 posts)

  1. streettb
    Member
    Posted 1 year ago #

    I'm having a difficult time creating some add-to-cart form validation with variable products.

    --I've disabled the add-to-cart button animation so that the button displays by default
    --I currently have the color/image swatch add-on as well as the gravity forms for woocommerce add-on on the product page
    --I don't want to have an image swatch or the gravity form fields selected by default

    I can't seem to find the code that will allow me to perform a very simple validation to check if either a swatch has been selected or a gravity radio button has been checked.

    Since the gravity forms add-on is installed, I'm assuming the modification would be in the gravity-forms-product-addons.php file, but I haven't had success.

    Any assistance would be appreciated.

    Test url: http://wordypress.info/?product=Dreamer

    http://wordpress.org/extend/plugins/woocommerce/

  2. johnlanglois
    Member
    Posted 1 year ago #

    Not sure that it impacts your add to cart issue, but your theme is throwing off errors in console. Timestamp: 5/17/2013 8:28:22 AM
    Error: downloadable font: download failed (font-family: "SourceSansProRegular" style:normal weight:normal stretch:normal src index:1): status=2147746065
    source: http://wordypress.info/font/SourceSansPro-Regular-webfont.woff
    Source File: http://wordypress.info/wp-content/themes/rustik/custom.css
    Line: 0
    Source Code:
    @font-face { font-family: "SourceSansProRegular"; font-style: normal; font-weight: normal; src: url("http://wordypress.info/font/SourceSansPro-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("http://wordypress.info/font/SourceSansPro-Regular-webfont.woff") format("woff"), url("http://wordypress.info/font/SourceSansPro-Regular-webfont.ttf") format("truetype"), url("http://wordypress.info/font/SourceSansPro-Regular-webfont.svg#SourceSansProRegular") format("svg"); }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic