Hide the Ninja Forms Add-ons’ prices in the cart and checkout pages

I’ve been asked to write this article to show you how to hide the prices added by Ninja Forms Product Add-ons in the variations table on the checkout and cart page.

This was quite hard (not the code, but the regular expression, i’m a bit noob with regular expressions) but funny!

I chose to hide them with regular expressions. Why?

Continue reading Hide the Ninja Forms Add-ons’ prices in the cart and checkout pages

Print the Manufacturer suggested retail price in the admin order items table

Did you know that with WooCommerce MSRP Pricing you can add the manufacturer suggested retail price to your products?

If not, well you should definitely try it!

This extension lets you add the suggested retail price for all the products in your store, but that price only shows in the front end of the site, while you probably also need it in the back end, expecially in the order admin pages.

Continue reading Print the Manufacturer suggested retail price in the admin order items table

Hide add-ons cost on the checkout page

With WooCommerce you are free to add as many fees as you need to your orders. There are various ways to do that, like payment gateways or proper extensions to up-sell on the checkout page.

One of these extension is WooCommerce Checkout Add-ons. It’s a great tool to create checkout fields which can be both free or paid.

In the case they are paid, there’s not any problem. The fee will be included in the order review table before to checkout. The same happens with free add-ons. This means that you will see the fee in the review table and it’s price like $0.00.

This is not always the best thing. They are free, why should i show a cost? With a PHP snippet you can remove the cost only for free add-ons.

Continue reading Hide add-ons cost on the checkout page

Print EXIF data with WooCommerce Photography

Since the release of the latest WooThemes’ extension, WooCommerce Photography, a lot of photographers asked me how to print EXIF data on the photograph page.

This feature is not built in WooCommerce Photography. I did some research about what exactly EXIF data is (i’m not a photographer at all) and if is possible to get them with PHP and turns out that it’s possible, and also easy.

With this tutorial you will learn how to add a custom tab in the single product page in order to show EXIF data.

Continue reading Print EXIF data with WooCommerce Photography

Track conversions with the Google Analytics Tracking Code in WooCommerce

This is the third article in few days about the Thank you page. I’m feeling a lot thankful.

Today you will learn how to add the Google Analytics tracking code used to track conversions. Since the first page you see after completing an order is the Thank you page, you need to add it there.

Are you ready to get your hands dirty?

Continue reading Track conversions with the Google Analytics Tracking Code in WooCommerce