Set price parameter in suffix for the Default Variation of product

[ad_1]

Hello Oscar,

You suggested to use the URL parameter (as per below post) as a suffix (or in suffix column) for the price to auto-update if the visitor comes from their own Country.
Say, URL parameter for USA (Country) in the suffix column-
?wcpbc-manual-country=US
as per this post
https://projectdmc.org/support/topic/google-shopping-feed-issues-dissaproval/#post-16369782

My point is, what if the product is a variable product.
Everything works well with Product feed pro (by Ademti) or CTX feed pro for Simple products. The only concern is for Variable product.
If we set the any product variation as a default variation in Woo product settings, then the URL of variable product (with default variation set) generates as something like below in the product feed –
https://www.productURL.com/?attribute_pa_size=38
And if we Add the URL parameter (as suggested by you) in the suffix column, it becomes like below-
https://www.productURL.com/?attribute_pa_size=38/?wcpbc-manual-country=US

But the problem is that, with this URL structure, the currency do NOT changes or updates.
However, for Simple product it works normally with this URL structure
https://www.productURL.com/?wcpbc-manual-country=US

So, what is wrong with this here. Are we missing something.
What are the possible solutions in this case.

Regards

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer