fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Where can I edit this line of code?

Hi Friends,

in which file of the Variation Swatches plugin can I edit the following code?
<div data-product_id=”5655″ data-threshold_min=”30″ data-threshold_max=”100″ data-total=”6″>
I need to add something.

Best regards

Golam Kibria

Hi Przemyslaw,

Will you please share your goal with us?

It is not recommended to touch the plugin file, because future updates will remove the changes.

Hope to hear from you soon.

Thank You

Sorry Golam,

but I need to make a change in that line.

The rest of this case is described in Private Ticket #127415

I need to change it today. I already wait 48 hours for any help and all I got, was a reply “It is not our plugin”.

 

 

I will resign from both of your plugins, if I do not get any help soon. I will change them to some other plugins in the evening. I use both of your plugins for 2 years and had no problems. After your latest update, part of my add-to-cart section is not centered correctly anymore.

Golam Kibria

Hi Przemyslaw,

“It is not our plugin”

Who replied that to you and where?

After your latest update, part of my add-to-cart section is not centered correctly anymore.

I believe that this is the issue you are facing.

Please share a product page link here so we can inspect.

Thank You

This is the original message from my Private Ticket #127415

Hi,

I have a problem with the styling. I have the newest version of your plugin, of wordpress and of woocommerce.

The whole section starting from the color swatches until the “add to cart” button is not centered, but shifted to the left. The elements inside this section are centered, but not the whole section.
Here you can see an example
https://ultra-desk.com/product/ultradesk-winger/
The lower section of “add to cart” is shifted to the left, while the product name and price are correctly centered.
Where can I correct this in styles, so the bottom section with the swatches and the button is also centered?

I found out a solution, but do not know, in whoch file I can change it.

In which file of your plugin can I change the following code?
<div data-product_id=”5655″ data-threshold_min=”30″ data-threshold_max=”100″ data-total=”6″>

If I add an inline style margin: auto to this above line, everything will be perfectly centered.

Where can I edit this in your files?
<div data-product_id=”5655″ data-threshold_min=”30″ data-threshold_max=”100″ data-total=”6″>

Golam Kibria

Hi Przemyslaw,

Okay, got it.

You actually make the edit inside your theme.

I am attaching this screenshot to further clarify it for you.

Thank You

Thank you very much Golam. You are a real pro. It helped immediately and it is a better solution, than what I have  proposed. Great job man! I really appreciate it.

I will purchase more licences for new websites, which we will start this year.

Thank you very much. Top rating from me. Probem solved in a perfect way.