• Resolved satkarna

    (@satkarna)


    Is there a way to change prices of the woocommerce product page according to the url(like affiliate links).

    i just want to create multiple url page (subfolder) and share with my customers through mail. each url directed to the same product page but different sale price should be showen in the page and some product shold be hidden according to predefined values.

    my requirement is similar to plugin likes reole based pricing, dynamic pricing, and custom url cart. but none of them fulfill my requirements.

    please suggest any plugin or customization for my requirements

Viewing 2 replies - 1 through 2 (of 2 total)
  • @satkarna – If you’re wanting to use the same product page but change the price depending on the URL parameters that redirected the customer there, it’s going to be quite 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, you could then 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!

    If you need help with making these types of customizations, you may consider reaching out to a private developer.
    We highly recommend contacting one of the services on our Customizations page.

    – Joey

    con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Url based pricing’ is closed to new replies.