I need to add this shortcode
[alg_wc_product_wholesale_pricing_table product_id="%variation_id%"]
next to the price column
i edited content-tbody.php, class_pvtfw_common.php but its stil not working 🙁
Hi @zielonek252
Thanks for reaching out to me. Could you please explain a bit more?
I am sorry I didn’t understand your query. You can use Lightshot or loom video.
Hope to hear from you soon!
Thanks
ds
thanks,
i want to put this shortcode next to quantity in table.
Understood? Maybe I’ll describe it in more detail by email:)
Hi @zielonek252
Unfortunately, right now there is neither an option nor a filter hook to add another column.
This part is the most critical part of the plugin. Column arrangement, you already know columns can be reordered to change column positions. 😓
But I kept a filter hook to display the add to cart button. You can try the filter hook- pvtfw_row_cart_btn_is to push your shortcode with add to cart button. Here is an example-
function pvt_support_cart_filter( $string ){
// Example shortcode
$var = do_shortcode('[caption]My Caption[/caption]');
return sprintf("%s<div class='shortcode'>%s</div>", $string, $var);
//$string is button content
}
add_filter( 'pvtfw_row_cart_btn_is', 'pvt_support_cart_filter', 10, 1 );
Hope it will help.
Thanks
Hi @zielonek252
It’s been a while I didn’t get any response from your side.
So, I am changing the status to “resolved”
If you have any further queries, please don’t hesitate to open a new thread.
Thank You