Move the attributes after the “Add to Cart” button

A customer on our support desk asked for this customization. I though it was a nice idea, so i wrote a quick snippet to do so.
It could be useful in some cases, when you don’t want to use the tab “Additional Information” or you want the information to appear immediately, without the need to scroll all the way down to the tabs and then click to the Additional Information tab to see it.

Continue reading Move the attributes after the “Add to Cart” button

How to bulk edit products

I’ve seen both on the WooThemes Help Desk and on some Facebook groups that customers need to edit many of their products, or even all of them, all together.
In example, you may need to discount all the products for a special offer.

Everybody knows that there are plugins for this, like Dynamic Pricing or Bulk Stock Management, but not everybody knows about a neat feature that WooCommerce includes in its core by default, which allows you to do the same, maybe with more steps.

It’s the Bulk Actions feature, already available by default in WordPress for its default post types, and extended for Products in WooCommerce.

Continue reading How to bulk edit products

Change the “Add to Cart” text on the single product page, conditionally

For any reason, you could change the “Add to Cart” text in your single product page in WooCommerce.

Maybe you are based in UK, so it would be “Add to Basket” and you don’t want to use the plugin translation, or simply you want it to say something cool and unique.

There’s a way to change the text on all products with a filter.

Continue reading Change the “Add to Cart” text on the single product page, conditionally

Allow shortcodes in the product vendor description

With WooCommerce Product Vendors you can allow other people to sell their products in your store.

You will probably want to create a custom page for each of them, and this is automatically done by the extension because vendors are taxonomies.

They have a description, a title, and some other options. But the description does not allow to add shortcodes.

Shortcodes are something that helps a lot in the website development and make things a lot quicker.

How to allow to add shortcodes in the product vendor description?

Continue reading Allow shortcodes in the product vendor description