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 show Selected Product Variation Name?

geniusdevill opened this issue · comments

Hi,

I read alot about this plugin. Also tried it. It works really great. but I have an issue. I want to also display about the Selected Variation Name after or before the price tag.

Can you guide me how i can achieve this thing?

Thanks in advance.

Hi geniusdevill:
Thank you for using this plugin.

What you are requesting might be suitable for your project, but I don't see how it might be helpful on standard installations.

I can help you extending you installation to achieve your needs. However, I'll only be available after mid May. Until there, I have an extra full agenda.

Can you wait until there? If yes, just remember me then.

Dear Marco,

Thanks alot for your reply.
You are right, its helpful for me in this project only. Can you please give
me a code snippet which i may add to woocommerce variable.php file and it
may just display the information required. Like the selected variation name.

If you can help me in this regard, i will be very grateful to you.

On Friday, April 12, 2013, Marco Pereirinha wrote:

Hi geniusdevill:
Thank you for using this plugin.

What you are requesting might be suitable for your project, but I don't
see how it might be helpful on standard installations.

I can help you extending you installation to achieve your needs. However,
I'll only be available after mid May. Until there, I have an extra full
agenda.

Can you wait until there? If yes, just remember me then.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-16302446
.

Regards,
Hassan.

You shouldn't modify any core file (this include variable.php file) as they are replaced every time WordPress/plugin/theme is updated.
Best strategy is to use child theme, and every modification should be made via functions.php.
I guess that in your case, is better if you enqueue a .js file to fulfill your need. It offers better handling of user interactions.
Will be back to this topic to provide further help ASAP. At this time, just want you to avoid mistakes.