• Is there a way to change prices of the woocommerce product page according to the url the person comes in?
    Does anyone suggest any plugins or ways to accomplish this?

    I need that when the person comes from Google Shopping the price will be different for them than for the person who comes in other ways to my site. I don’t necessarily need to change the direct price on the product.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @carcanha!

    I understand that you want to change the price of the product depending on how the customers arrived to the product page. Is that right? Or you actually want to have different product pages with different prices?

    If you want to create different pages, I’d simply suggest you to create different products.

    If you want to use the same product page but change the price depending on the page that redirected the customer there, it would be a bot more complicated… Affiliate plugins (like Affiliate for WooCommerce) do something similar, as they’re able to set up a tracking code to check if the customer landed to the product page from one of these promoted sites, but instead of changing the product price, these plugins are usually designed to offer the affiliate a commission of each sale.

    I’m not aware of any plugin that contains the specific functionality that you’re looking for, but maybe you can find some affiliation plugin with this feature…

    Otherwise, you’ll need to achieve it using a customization… Using “$_SERVER[‘HTTP_REFERER’]” you could get the previous URL and then, you could try to filter the price of the current product based on this URL. I’m not sure if that would work for you, but that’s just an idea that you could consider as a starting point!

    I hope it helps!

    Thanks,

    Thread Starter Achiles

    (@carcanha)

    So I need the complicated option. But some alternative way may help now.

    The problem is: I’d like to offer a discount for people coming from Google Shopping, as it’s an marketplace where price matters a lot.
    But when I put the value on Google Shopping below the value on my product page, their algorithm scans my site and says the value is wrong.

    I’ve been wondering and maybe just activating a mask above the product page with a discount coupon, for example, may even be through a popup, it may help Google’s algorithm to identify that for these customers the value is cheaper, and then the clients use the coupon with the discount on the cart.

    Thanks for the idea, if you have any other suggestions is always welcome

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change product prices by url’ is closed to new replies.