Don't miss the chance! Get Variation Price Display Range Plugin at 🎯$49 $39 onlyBuy Now!
Public Ticket #3238

Table showing twice on product page using divi

rcolijn

https://cafemojomundaring.com.au/product/take-home-dinners/

 

Can you tell me why the variation table is showing twice, once at the top of the page, and once where it should?

I was about to buy your plugin but hesitated after this.

Cheers

rcolijn

rcolijn

Ok, I found that I had an extra shortcode. However once removed it only shows the table at the top, not where I would like it to be, regardless of setting!

rcolijn

rcolijn

I wish there was an option to "hide" the default placement and ONLY show where I put the shortcode...

I played arround with the CSS code but they dont have a unqiue ID or class :(

wpx

wpx

Hi,

I hope you are doing well today. In our coming Premium version, you will get an option to disable the variation table to display using the shortcode. For now, you can use the following snippet using a plugin called Code Snippets-

function pvt_builder_support(){ 
global $pvtfw_table, $pvtfw_allocation; 
remove_action('template_redirect', array( $pvtfw_table, 'remove_add_to_cart'), 29 );
remove_action('template_redirect', array($pvtfw_allocation, 'pvtfw_variant_table_init'), 30); 
} 
add_action('init', 'pvt_builder_support');

Then use the shortcode to display the variation table. I hope it will help you to achieve your goal.

Hope to hear from you soon.

Best Regards

wpx

wpx

Hi,

Please let us know if the above snippets helped. 🙂

Best Regards