Text and button in Woocommerce variation description

Hi guys, been using this theme for a few years now and love it. I am not a php website guru and this has allowed me to create usable ecommerce platform that does perform. So thank you all for that.

I have an annoying problem in that I almost certainly with your help have been able to put a button and text next to the price in some products.

Example 1

https://www.ijconline.co.uk/product/funeral-order-of-service-autumn-leaves/

there must be a trigger as it is not in all products and indeed was set up for that particular group. Example 2 shows a product without the additional button

Example 2

https://www.ijconline.co.uk/product/funeral-announcement-cards-fac01/

I now need to expand on this but cannot find an area or code snippet that this is being generated from.

With my limited knowledge I have checked the JS and CSS additional code in theme options and I have checked function.php as well as other php files, but I cannot see where this is being created.

Below is a sourcode output from examining the element in the browser.

class=“woocommerce-variation-description” h4 align=“left"Pack of 10 Orders of Service /h4
a class=“x-btn x-btn-round x-btn-regular alignleft” href=“https://form.jotformeu.com/50334744399361” title=“Upload file link” target=”_blank" data-options="thumbnail: ‘’"Customise/a (Apologies, removed tags to stop it from being active.)

If somebody could point me in the right direction. I would be most grateful.

Many thanks in advance

Ian

Hi Ian,

Thank you for writing in, how were that button and text added to your product page? It seems to be added via a custom function but I don’t see a child theme installed on your site, it could be a 3rd party plugin. or a custom JS. Would you mind providing us login credentials (wp-admin and FTP) in a secure note so we can take a closer look?

Please bear in mind that customization like this or 3rd party plugin issue is outside of support that we can offer, we can only help you figure out why that button and text showing up on some products and not on others, and then it is your responsibility to take it from there.

Cheers,

Hello Ian,

Thanks for updating in! Regretfully the WP credentials do not work for us. The FTP login works and I already have logged in to inspect any php code. You are not using any child theme therefore no php code added in your theme files. I have a hunch that the button was added as part of your variation description. Please edit the product page and check the description instead.

Hope this helps. Please let us know how it goes.

Brilliant, Thank you so much for your help. You are right it was buried in the variation part of the page. :blush:

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.