• Resolved seenorimagined

    (@seenorimagined)


    I can’t seem to get variations to work on my products. They were working in draft mode, but then I changed the wording on the global attributes/slugs and published the products. I am using the Virtue theme and I don’t have that many plugins going–there are no js errors. I also changed the Virtue shop settings to leave the galleries alone and it didn’t help.

    Am I setting this up correctly?
    Screenshot 1: https://oi64.tinypic.com/k1ex47.jpg
    Screenshot 2: https://oi63.tinypic.com/16jqxcn.jpg

    Status Report:

    
    ### WordPress Environment ###
    
    Home URL: https://www.landbirdsupply.com
    Site URL: https://www.landbirdsupply.com
    WC Version: 3.4.6
    Log Directory Writable: ?
    WP Version: 4.9.8
    WP Multisite: –
    WP Memory Limit: 64 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.10-nfsn1
    PHP Post Max Size: 10 MB
    PHP Time Limit: 180
    PHP Max Input Vars: 1000
    cURL Version: 7.61.1
    OpenSSL/1.0.2o
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.0.21-MariaDB-1~trusty
    Max Upload Size: 10 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.4.6
    WC Database Prefix: wp_
    Total Database Size: 9.05MB
    Database Data Size: 7.89MB
    Database Index Size: 1.16MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 0.00MB + Index: 0.01MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 1.09MB + Index: 0.05MB
    wp_postmeta: Data: 0.33MB + Index: 0.06MB
    wp_posts: Data: 1.17MB + Index: 0.06MB
    wp_sabre_table: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.00MB + Index: 0.01MB
    wp_term_relationships: Data: 0.00MB + Index: 0.00MB
    wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB
    wp_usermeta: Data: 0.01MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedCommentLog: Data: 0.02MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB
    wp_wfBlocks: Data: 0.03MB + Index: 0.01MB
    wp_wfBlocks7: Data: 0.08MB + Index: 0.05MB
    wp_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB
    wp_wfConfig: Data: 1.34MB + Index: 0.01MB
    wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wfFileChanges: Data: 0.02MB + Index: 0.00MB
    wp_wfFileMods: Data: 1.26MB + Index: 0.28MB
    wp_wfHits: Data: 0.47MB + Index: 0.09MB
    wp_wfHoover: Data: 0.00MB + Index: 0.00MB
    wp_wfIssues: Data: 0.02MB + Index: 0.01MB
    wp_wfKnownFileList: Data: 1.52MB + Index: 0.00MB
    wp_wfLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB
    wp_wfLockedOut: Data: 0.00MB + Index: 0.00MB
    wp_wfLocs: Data: 0.00MB + Index: 0.00MB
    wp_wfLogins: Data: 0.02MB + Index: 0.01MB
    wp_wfNet404s: Data: 0.00MB + Index: 0.00MB
    wp_wfNotifications: Data: 0.02MB + Index: 0.00MB
    wp_wfPendingIssues: Data: 0.02MB + Index: 0.06MB
    wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB
    wp_wfScanners: Data: 0.00MB + Index: 0.00MB
    wp_wfSNIPCache: Data: 0.02MB + Index: 0.05MB
    wp_wfStatus: Data: 0.13MB + Index: 0.06MB
    wp_wfThrottleLog: Data: 0.00MB + Index: 0.00MB
    wp_wfTrafficRates: Data: 0.02MB + Index: 0.00MB
    wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_termmeta: Data: 0.00MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 122
    custom_css: 1
    customize_changeset: 1
    nav_menu_item: 6
    page: 19
    portfolio: 12
    post: 2
    product: 3
    product_variation: 6
    revision: 335
    shop_coupon: 1
    shop_order: 1
    tt_font_control: 1
    wooframework: 24
    wpcf7_contact_form: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (13) ###
    
    Akismet Anti-Spam: by Automattic – 4.0.8
    Anti-Spambot Email Shortcode: by Robert Peake – 1.1.2
    Contact Form 7 Honeypot: by Nocean – 1.13
    Contact Form 7: by Takayuki Miyoshi – 5.0.4
    Disable XML-RPC Pingback: by Samuel Aguilera – 1.1
    Enable Media Replace: by ShortPixel – 3.2.7
    Genesis Columns Advanced: by Nick Diego – 2.0.3
    Insert Headers and Footers: by WPBeginner – 1.4.3
    Kadence Toolkit: by Kadence Themes – 4.9.1
    WooCommerce: by Automattic – 3.4.6
    Wordfence Security: by Wordfence – 7.1.16
    Yoast SEO: by Team Yoast – 8.4
    wp-Typography: by Peter Putzer – 5.4.2
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #471 - /shop/
    Cart: #13 - /cart/
    Checkout: #14 - /checkout/
    My account: #15 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Virtue
    Version: 3.2.9
    Author URL: https://kadencethemes.com/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: virtue/woocommerce/archive-product.php
    virtue/woocommerce/content-product.php
    virtue/woocommerce/content-product_cat.php
    virtue/woocommerce/content-single-product.php
    virtue/woocommerce/loop/loop-end.php
    virtue/woocommerce/loop/loop-start.php
    virtue/woocommerce/loop/price.php
    virtue/woocommerce/loop/rating.php
    virtue/woocommerce/loop/sale-flash.php
    virtue/woocommerce/single-product/add-to-cart/external.php
    virtue/woocommerce/single-product/add-to-cart/grouped.php
    virtue/woocommerce/single-product/add-to-cart/simple.php
    virtue/woocommerce/single-product/add-to-cart/variable.php
    virtue/woocommerce/single-product/price.php
    virtue/woocommerce/single-product/product-image.php
    virtue/woocommerce/single-product/product-thumbnails.php
    virtue/woocommerce/single-product/sale-flash.php
    virtue/woocommerce/single-product.php
    virtue/woocommerce/taxonomy-product_cat.php
    virtue/woocommerce/taxonomy-product_tag.php
    
    

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • It looks like you have made only one variation for the product, so selection of that variation is automatic.

    On the variations tab, ensure you have set up a variation for each attribute. Select “Add variation” in the dropdown at the top of the tab to set up each one individually, or “Create variations from all attributes” to set them all up in one go.

    Thread Starter seenorimagined

    (@seenorimagined)

    I do have them both set up in the same way. The second one just isn’t captured in the screenshot.

    Could you do a screenshot of the 12M variation on the variation tab, the one that’s not showing on the product page

    Thread Starter seenorimagined

    (@seenorimagined)

    Here is Screenshot 3: https://oi68.tinypic.com/bgy6if.jpg

    The setup looks good.

    Upon further investigation, the size select drop-down is there in the page, but we can’t see it because its opacity is set to 0 (= invisible). To make it show up, try this custom css:

    .woocommerce-ordering select,
    div.product form.cart .variations td.product_value select {
      opacity: 1 !important;
    }

    Custom CSS can be entered at:
    Dashboard > Appearance > Customize > Additional CSS

    Why this should be necessary I don’t know. Virtue is a mature theme and its normally well-behaved. You could ask on the Virtue support board if you want the know why. The Virtue techs are normally responsive.

    Thread Starter seenorimagined

    (@seenorimagined)

    Okay, thanks. I’ll take it up with them. I wasn’t sure what might be causing the error.

    Hi there,

    I am experimenting a similar problem, but I am not even able to see the variations tab in the product page admin.So I created a product, then created an attibute (size) and added S, M, L… Now in the product page, I added the attribute size to the rpoduct, but the variables tab is not showing. I tried a few solutions I saw online but I can’t find the right on. Do you know why this may be happening?

    Apologies for posting it here, I would like to open a new thread but I can’t.

    Thanks!

    @ovejaenlaciudad
    Please confirm that you have selected the variable product type in the product data metabox product type dropdown. It defaults to simple product.

    Hi @lorro

    Thanks for your speedy response. I hadn’t in fact chosen the variable product type. Solved now. Thanks very much for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Variations not working’ is closed to new replies.