woocommerce-variation-add-to-cart variations button

Partner's Ad:

Search on forums

Forum › Forums › WordPress themes › KALLYAS – WordPress Theme › Woocommerce variation product missing add to cart button

I have updated to version 1.3 of the theme with woocommerce 2.02. When I create a product with a variation I can view the product and have a drop down of the attribute but the add to cart button does not appear. Here is a link to the product page – http://www.golfstorehouse.com/test/shop-page/taylor-made-r11s-driver/.

Any ideas as to what’s not working?

Deleting that folder fixed the “add to cart” problem I was having too. Variation photos still don’t change like they are suppose when when certain variations (ex. color) is selected.

I am having the exact same issue of the variation photos not changing when you select any variation. The default Featured Images stays no matter what.

The topic ‘Woocommerce variation product missing add to cart button’ is closed to new replies.

SUPPORT SCHEDULE

Online on Weekdays,
From Monday to Friday,
8AM – 6PM ( GMT 00:00 ) [convert time]

Offline in Weekends.

Woocommerce-variation-add-to-cart variations button

I’m running WooCommerce version 2.5.5. The following lines of code don’t seem to change the Add To Cart button text on my product page for an item with variations:

Would you happen to know what I’m missing?

The correct filter for the single product page is woocommerce_product_single_add_to_cart_text .

Update: for WooCommerce 3+

You are using an obsolete hook for prior versions 2.1 of WooCommerce (see at the bottom the reference).

First you can target the desired product type in those (new) hooks with conditions:

Now you have 2 available hooks for Woocommerce:

  • One for single product pages (targeting the product types with conditions):
  • And the other for product archives pages (targeting the product types with conditions):

And you will use one or both of them with your customized function targeting through the variables product type condition, this way:

You can also have a custom button text by product type: See here.

WooCommerce Button and Image Variations

Tested with WooCommerce 3.x, 2.6.x & 2.5.x

Compatible with WC3.x and backwards compatible with previous versions!

Current Version 1.7.1

Add Color Swatches

Manage your button’s styling

Customize the styles to match your site, right from the admin interface.

Rounded Color and Image Buttons

With ease match your theme. Check out the screenshots for a look on what is possible.

Useful Checkmark on Selection

Visual aids to help your customers select attributes.

Per Product Buttons

Manage your colors, images or images right on the Product page.

Global attributes

Manage them at the Attribute level – globally for all your products.

Easy Disabling

Manage which products will be showing the buttons in one place.

Great support

Look at our reviews and ratings, 100% commitment to your satisfaction

CandleStudio

Deliver better projects faster. Web, design & video assets

Unlimited downloads, from $16.50/month

Create Beautiful Logos, Designs & Mockups in Seconds

Design like a professional without Photoshop

Designers matched perfectly to
you on Envato Studio

2000 artists ready to undertake your work

Leave a Reply

Your email address will not be published. Required fields are marked *