PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Compatibility with PixelYourSite

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
12

Hi team,

I was encountered an issue testing on my site the Pixel Events from Meta.  configured together with Meta Support using PixelYourSite plugin (actually best preferred from they).

I've a site selling products to the same country with the option to pay with USD or PEN currencies.
Actually USD is the main currency of the site.

In the first image you can see that the Pixel is recognizing the AddToCart Event with USD currency and 98.00 as the value. Coinciding with value and currency with elements added into the Cart page. Fine.

Link 1: https://imgur.com/bnjhFpI

But in the secong image, still staying on the same cart page without refreshing the page, if you switch to another currency (PEN) the URL add the /?currency=PEN parameter and update all the values with PEN currency (perfect all this), but isn't refresh or uptade the value on the Pixel (is changing only the currency): AddToCart Event with PEN currency and 98.00 as the value.

Link 2: https://imgur.com/ngpWFkW

-----

What do you think is the problem? I don't have a Cache plugin activa at the moment.

Thanks in advance.

Hello

Please  read  this - https://currency-switcher.com/woocs-labs

Try in  file - \wp-content\plugins\woocommerce-currency-switcher\index.php - comment/delete  this  code - https://share.pluginus.net/image/i20230814130846.png

Thanks Pablo,

I have made the suggested change on that code line. But the issue still remains.

At first time, into the Checkout Form, for example, you can check at the screenshot that the InitiateCheckout event is working fine: https://imgur.com/a/gaRdAPW

After clicking PEN currency into the Currency Switcher, the SubTotal/Value is don't refreshed: https://imgur.com/a/QnsI19M

But if you click another time to USD currency, you receive the last value of the previous selected currency: https://imgur.com/a/8QWpAKe

Hello

Please  drop  me  exact  link to  the  issue.

 

Hi,

Sure. Here the links to the site:

First, add some product to the cart: https://caribeazul.com.pe/producto/hi-def-brow-gel/?attribute_pa_color=marron-medio

And after, you can go to the Cart page (check the AddToCart event): https://caribeazul.com.pe/mi-bolso/

Or directly to the Checkout form page (check the InitiateCheckout event): https://caribeazul.com.pe/finalizar-compra/

To track the Meta Pixel events, you need activate the Meta Pixel Helper browser extension.

Hello

Ok! It looks like this third-party plugin has its own cache

you can drop me wp-admin+FTP to  your  test  site - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png

I'll add it to the adaptation queue

 

Great!

Already added the access requested (WP and FTP).

Hello

Ok! I will write to you as soon as we get the result

Hello

It looks like  AddToCart Even is not configured on the test site and I can't test the functionality.

Hi Pablo,

The AddToCart Event is active on the test site, but isn't is you're connected with the Admin user (just try in Incognito/Private browser window).

This because we need avoid tracking the events from user admin sources.

I have tried and is working: https://imgur.com/GrwgL2I

You can test with InitiateCheckout event at the checkout form.

Hello

Ok!  Thank you

I will check it

Hello

Please  do a  test

I  added in  file -\wp-content\plugins\pixelyoursite\includes\functions-woo.php  - code - https://share.pluginus.net/image/i20230901182046.png

if (isset($GET['currency'])) {
WC()->cart->calculate_totals();
}

Hello,

Thanks for your support. But after testing incognito and disabled cache isn't working.

Here the confirmation: https://imgur.com/a/MM47ubJ

After switching from USD to PEN, the currency change well but doesn't the value.

Hello

OK!  I  will check it

Hi Pablo,

Just a little touch to know if you have some updates about this error.

Appreciating your support.

Hello

Unfortunately our developer was not able to test this last week, but we will do it this Friday

sorry for delay

Hello

Please  do a test

Hi Pablo!

Now is working fine!

I've tested on the product page and checkout form. The FB Pixel events are refreshing their values at same moment of switching the currency.

You think is all solved after this?

 

Hello

You think is all solved after this? - I think yes.

In  file  -\wp-content\plugins\pixelyoursite\includes\functions-woo.php  - I  deleted code - https://share.pluginus.net/image/i20230918104818.png

Ok,

Thank you very much Pablo!

About this change, we've only the option to hardcode the change in that plugin right?

You think is neccesary comment this issue to the PixelYourSite support?

Just to know the next step to fix definitly this issue.

 

12