WPXtension
Forum Replies Created
-
BUT the βAdd to quoteβ button stills lays outside the product variation table
I have updated the code, just replace the previous code using this new code.
Also, uncheck this quantity: https://prnt.sc/SRtGr3o0hOjb when using the snippet on your site. π
Then let me know if it fits your need. Hope to hear from you soon.
Please try this code inside your child theme’s functions.php or use a plugin called Code Snippets and add this code as a snippet.
Then let me know if it helps.
Thanks
Please make sure the shortcode accepts ID. For example:
[SOME_SHORTCODE ID="36"]. Here 36 is a variation ID.In that case, I can suggest you some snippet for a try.
Forum: Plugins
In reply to: [PVT - Product Variation Table for WooCommerce] Run a quote plugin on PVTI have answered the other thread. So, as a duplicate issue, I am changing the status of this thread to “resolved”.
Please reply back to the latest thread. Hope to hear from you there.
I hope you are doing well today. Does the YITH request a quote plugin offer a shortcode of the request a quote button? Can we pass the variation id using that shortcode?
If the answer is yes then you can replace the Add to Cart button with the Request a Quote button.
Hope to hear from you soon.
Thanks
I hope you are doing great today.
While the support of commercial products is not permitted in the forums. We can only provide support for the free version. Please contact us directly at: https://wpxtension.com/support-ticket/
To learn more about forum guideline, please check this link: https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products
Thanks
Forum: Plugins
In reply to: [Variation Price Display Range for WooCommerce] Missing translation fileWe have released version 1.3.6 and removed
event.stopPropagation();. Could you please check?Waiting for your feedback. Hope to hear from you soon.
Thanks for reaching out to us. I am forwarding your findings to our development team. They will definitely look into this and will release an update soon.
Hi @apinis
We hope that you are doing great. Thanks a lot for your appreciation.
Please follow this guide to translate your desired string(From).
Let us know if this works for you.
Have a great day π
Forum: Reviews
In reply to: [Variation Price Display Range for WooCommerce] 5+ stars.Thank you so much for your fantastic lines for us. Please open a ticket regarding your quick view modal, we will try our best to resolve the quick view price changing issue.
Unfortunately, our plugin is built for variable product types. So, it will not work with the bundle product type. But, we will look into this and if we can manage the bundle product type too, we will release an update.
Again thanks a lot for your beautiful words. Its really inspire us a lot.
Forum: Plugins
In reply to: [Variation Price Display Range for WooCommerce] Missing translation fileI hope you are doing well today. Thanks for your interest in our plugin.
Sure, we will add a .pot file soon and will release a version. Thank you very much for your suggestion.
Glad to know it helped. We are very excited and honored when you use our plugin on your site.
If you found our plugin and support helpful, can you please leave the last beautiful reply here: https://wordpress.org/support/plugin/product-variant-table-for-woocommerce/reviews/
It will inspire us a lot.
Thanks
Hi @ralfjuh
Thanks for reaching out to us. Please add the following snippet using Code Snippets plugin or, add it inside your child theme’s functions.php:
if ( !function_exists( 'pvt_get_price_html_with_discount' ) ){ function pvt_get_price_html_with_discount( $price_html, $single_variation ){ $active_price = $single_variation->get_price(); $regular_price = $single_variation->get_regular_price(); if ( 'yes' === get_option( 'woocommerce_calc_taxes' ) && 'incl' === get_option( 'woocommerce_tax_display_shop' ) ) { $price = wc_get_price_including_tax( $single_variation ); } else{ $price = $single_variation->get_sale_price(); } if( $active_price !== $regular_price ) { $saving_percentage = round( 100 - ( $active_price / $regular_price * 100 ), 1 ) . '%'; return $single_variation->get_price_html()."<input type='hidden' name='hidden_price' class='hidden_price' value='".$price."'>" . sprintf( __('<span class="pvt-discount-text"> You Saved: %s</span>', 'woocommerce' ), $saving_percentage ); } return $single_variation->get_price_html()."<input type='hidden' name='hidden_price' class='hidden_price' value='".$price."'>"; } add_filter( 'pvtfw_price_html', 'pvt_get_price_html_with_discount', 20, 2 ); }Then please let me know if you wanted something like this or not.
Hope to hear from you soon.