In this episode of WooCommerce Office Hours I was joined by Patrick Rauland a developer for WooThemes. Patrick is also helping coordinate the upcoming WooCommerce Conference.

WooCommerce Questions and Answers

1. @PamHirsch asks on Twitter:

Do you know of a color picker plugin for WooCommerce that the end client would see resulting in a hex code?
On a product page, could be a card, or a color wheel of some sort.

There’s not a plugin that does that directly, but there are a few ways of approaching it. Both options require custom code.

First, she could use basic variations, and put hex code inside of the image or variation name. Here’s an example:

WooCommerce Attribute

Add hex code to the attribute Name

Edit Product ‹ test site — WordPress

Hex Code will be part of the variation.

Add hex code to the attribute name

Hex code visible on product page.


Second option would be to use the Variation Swatches and Photos plugin. Here’s a demo store.

And a third option would be to use the upcoming Variations Description plugin I’m building. The the hex code could be added to the short description for each variation. I’ll post this when it’s available.

2. Amal 007 asks:

Is there a way i could hide the weight unit (“kg” ) within additional information section in individual product page by editing some css or any other file? Thanks

I showed in the video how the Additional Information tab shows up. It only displays when the product is Variable and has the “Visible on Product Pages” option checked.

These attributes will show on the Product Page

These attributes will show on the Product Page

These options do not by default show the weight unit, so either there is custom code included in a plugin or theme or the unit was added with the attribute name.

Weight unit does not show on attribute names

 

3. Rocky69 asks:

Hi all,
sorry if this is a dumb question or if it was answered already, I just couldn’t find it.
After I register or login as a customer in my new eshop, it leads me to the WP admin area. Is there a way to prohibit the customer to enter the admin area and stay in the front end? I can remember such a setting used to exist in older versions, I just cannot find it in 2.1.12.
Many thanks

Default  WooCommerce changes the login page to stay in the front end for users.  I showed how if you use the My Account page link to login there is a nice template displayed and the customer is redirected to the My Account page after logging in.  There might be another plugin that is affecting this.

4. fuzzball13 asks:

Fatal error: Class ‘WC_Product_Variable’ not found in /home3/theoelsb/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php on line 384
can anyone help me fix this? it doesn’t let me save variations.

The file in question is looking for this class file. Normally if a PHP level fatal error is triggered the file has been deleted or permissions are incorrect.  I suggested reinstalling WooCommerce to make sure the files are there.

5. The illustrious Tom Harrigan asks:

@Patrick have you seen the commercials for the “4d” Batman roller coaster? It looks up your alley based on that vid!

 

The video I showed in the screencast is of Patrick and Coen Jacobs on a crazy carnival ride last year in Leiden. Watch below or here:

 

[youtube https://www.youtube.com/watch?v=gAHTxGPCjOs]

Here’s the awesome Batman video:

[youtube https://www.youtube.com/watch?v=5Nu__zL95Zc]

WooCommerce News

Patrick shared news about the next three announced speakers from WooCommerce Conference.

WooCommerce 2.2 Beta still coming along. I talked about getting my commercial plugins compatible with the new version and dropping support for WooCommerce 2.0.

WordCamp Dallas/FortWorth

I’ll be speaking at WordCamp DFW and Grow Development is sponsoring. Patrick is speaking also and will be talking about choosing an ecommerce platform.

We referenced Scope Creep Blues a great original song by WC DFW organizer Carrie Dils!

[youtube https://www.youtube.com/watch?v=OygVllyHOpE]

 

 

 

Posted by Daniel Espinoza

I'm a digital tentmaker, web developer, a native Texan, avid reader, and a wanna be polyglot. Follow Daniel on Twitter @d_espi.

Get a weekly digest of posts

* indicates required