📢 Display additional product images on WooCommerce archive pages with xThumbs - Image Flipper For WooCommerceBuy Now!
Public Ticket #4278

No additional button for Request a quote

Clemens

Hi guys,

We use your great plugin PVT together with Addify Request a quote. After the update to version 1.7.2, however, the display no longer works. The additional button add to quote is no longer displayed. We entered the following script in the customizer under additional CSS:

.pvt_loaded.woocommerce-page .input-text {
height:42.8px
}

.pvtfw_variant_table_cart_btn {
background-color:#781617!important;
border-color:#781617!important;
}

As we have now determined, this function is apparently no longer supported by the new version of your plugins or is only available in the Pro version. Strangely, however, it no longer works after a downgrade to version 1.4.21.

Can you help us here?

Thank you in advance.

wpx

wpx

Hi,

I hope you are doing well today.

Unfortunately, we don't have a built-in support for the mentioned plugin.

Even it was not supported in our previous versions.

It seems like you had a custom code inside the plugin. After updating the plugin, your customization was replaced with the new code.

So, going back to the 1.4.21 is not displaying the button.

Please try to get a backup of the plugin (by requesting your hosting support), and share that file with us.

So that, we can help you with that for our current version.

Hope to hear from you soon.

Best Regards

Clemens

Clemens

Hi there,

Many thanks for your really quick answer.

We were very happy about it.

Your hint helped us decisively. The file content-tbody.php was modified. We exchanged this file so that the button now appears again.

I think we can purchase the pro version if the page goes online.

Thanks again for your quick help. 

CU

wpx

wpx

Hi,

Glad to know it helped.

You can share the customization with us.

So that, we can check if it is possible to keep it outside of the plugin as a snippet.

It may help you to update the plugin to the latest version without erasing your customization.

Hope to hear from you soon.

Best Regards

wpx

wpx

Hi,

Sorry for the delayed response. We (Support Engineers) don't have access to the email.

I can see you have modified this array value (in content-tbody.php):

$options['action'][] = '<a href="javascript:void(0)" rel="nofollow" data-product_id="'.$variant_id.'" data-product_sku="9029.25NY005" class="afrfqbt button add_to_cart_button product_type_simple">Angebot anfordern</a>'.$btn_format;

Is there anything have you changed?

If not, you could add the following snippet using a plugin called Code Snippets or you can also add the following snippet inside your current theme's functions.php file:

add_filter('pvtfw_row_cart_btn_is', 'custom_pvt_cart_button', 10, 6);
add_filter('pvtfw_row_cart_btn_oos', 'custom_pvt_cart_button', 10, 6);

function custom_pvt_cart_button( $cart_button, $product_id, $cart_url, $product_url, $variant_id, $text ){
echo '<a href="javascript:void(0)" rel="nofollow" data-product_id="'.$variant_id.'" data-product_sku="9029.25NY005" class="afrfqbt button add_to_cart_button product_type_simple">Angebot anfordern</a>' . $cart_button;
}

Note: It is recommended to add the above code using a child theme if you want to add it using the theme's functions.php file.

Keep your CSS at Appearance > Customize > Additional CSS.

In this case, you can easily update the latest version without losing your custom code.

Best Regards