Dynamic Pricing on product page based on customer tags (An app will handle the actual discount)

Zac_d
New Member
1 0 0

Hi everyone,

We currently use customer tags and a discount app to trigger automatic discounts in the cart page which then flow on to the checkout etc, mainly used for customer loyalty discounts.

What I am wanting to do, is look at implementing code that can dynamically change the 'displayed' pricing when a customer is logged in. I don't need this code to actually do any discounting, 

 

I.E:

Check: Customer logged in?

Does customer account have tags: Owns1product - display price of $90 instead of $100.
else
Does customer account have tags: Owns2products - display price of $80 instead of $100
else 
does customer have tags: Owns3Products, Owns4products, Owns5products - display price of $70 instead of $100

I already have some base code that I can edit that will reflect a discounted strikethrough price for an individual product that is visible to everyone, regardless of their customer tagging.

 

The code would need to likely be replicated for multiple products as we have varying pricing across our range, but that I can work on later.

If anyone has any experience with this, please let me know!

 

Thanks

 

 

Replies 0 (0)