8manos / wc-variations-radio-buttons

Let your customers choose product variations using radio buttons instead of dropdowns.
https://wordpress.org/plugins/wc-variations-radio-buttons/
GNU General Public License v2.0
62 stars 34 forks source link

Different view on calling WC action #12

Closed tmconnect closed 8 years ago

tmconnect commented 8 years ago

On the single product page everything works as expected.

safari-snapz007

But if I call do_action( 'woocommerce_single_product_summary' ) on a page where I want to show special products, I got the price range on top and the price for the selected variation on the bottom. The bottom price changes while changing the variation.

safari-snapz008

I can't find any reason why this happens. Did you get any idea?

Thanks for help!

Mantish commented 8 years ago

Hi @tmconnect Is this caused by the plugin? I mean, how does it look when the plugin is disabled?

tmconnect commented 8 years ago

Oh sorry, if the plugin is disabled and the WC variable.php is called I got the price range on and the selected price on the bottom as well.

But it's strange: The single product page is generated with the content-single-product.php where the function woocommerce_single_product_summary is called. But the result is different????

In the meantime I build a jQuery solution that puts the selected price below the title and hides the price range.

Thanks Thomas