pereirinha / woocommerce-variation-details-on-page-product

WooCommerce Variation Details on Page Product

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to make it work?

sarthaksinghal opened this issue · comments

I had a fatal issue first which was resolved with 1.1 version release.
Now I am trying to create a variable product and then give different sizes and weights to them, but they are not working.

I have updated the php file with the pa_attributeSlug but still nothing seems to be working for me.

Any help or pointer to a link would be appreciated.
Thanks ..Sarthak

Hi Sarthak:

Once again, thank you for trying to use this plugin.

The setup should be pretty straight forward. Can you copy the line were you define $attributs_keys inside wc-attributes-on-page.php file?

You may also, and if you have any skills on MySQL, query your postmeta table where your meta_key field contains attribute_pa__**. These *_* should be your slug. Find the one that you need and compare it with the one defined above.

However, i'm developing an important update to this plugin. You will not need to bother defining anything on the code, as it should be done within WooCommerce settings.

I just need a few days to finnish it.

Great. Then I will wait for few days more and look forward to the update

Hi Sarthak:

I've just released version 2.0.

See if it helps solving your problem.

Is there any place where I can follow the documentation to make the changes and see how it works?

Was able to figure out the changes via 4a975be

However I am not seeing the any size displayed even in the default state of the variation product group. How do I get to see them around "Add to Cart" button? I am using Size as the Variation.
Thanks

I wouldn't recommend you looking the changes that way. In fact, I think is better if you search the plugin directly from your Wordpress plugin installer. Just go to http://yourdomain.com/wp-admin/plugin-install.php?tab=search&type=term&s=woocommerce+variation+details+on+page+product. The plugin should be the first one shown.

Also, assure that you have the most recent version of WordPress(3.4.2) as well of WooCommerce(1.6.5.2). I've defined my theme as Twenty Eleven. Use it for debug purpose.

I will make now a quick steep list that you can follow to see the plugin in action.

  1. Create a product on WooCommerce;
  2. Define it as a Variable Product on Product Data tab;
  3. On Attributes tab within Product Data tab add your Custom Product Attribute, "Size", for instance;
  4. Expand Size label and check used for variables;
  5. Also set values: "Small", "Medium", "Big"; for instance;
  6. On Variations tab, add your Variation Size, selecting one of default selections and fill the desired fields. Be sure to setup dimensions;
  7. Add information for the remaining selections;
  8. Publish your product;
  9. Find the product page on your shop;
  10. Select one off your sizes and notice that dimension information will be shown bellow your add to cart button;
  11. Select any other size and notice that dimension information will automatically will change.

Keep me updated.

Good luck ;)

Thanks. But I am not seeing any dimensions below the "Add to Cart" button. The dimensions are listed in the Additional Information tab which is the default one.

On selecting the different sizes of Small, Medium or Large, nothing is displayed.
I am trying it on WP 3.4.2 with Twenty eleven theme. with WooCommerce version 1.6.5.2.

Will it be possible to create a 5-10 minute video and show it working with all the settings?
Thanks in advance

Hi Sarthaksinghal:

I found the problem... sorry but i've mislead you. You should avoid point 3, as this plugin doesn't yet support custom product attribute. Instead, you should create your attributes inside Products tab and then call these attributes inside attribute tab on product page definition.

I've created a video that is available on vimeo and it contains a step-by-step tutorial.
Were's the link https://vimeo.com/51533811

Hope that this definitively solve your problems.

Woohoo! It works. Now I need to try it on a hosted version of the website.
Thanks !!

I very pleased to see that we've nailed it.

Good luck ;)