Jump to content

Conditional Price for Quantity Type configurable option


Go to solution Solved by WHMCS JoshQ,

Recommended Posts

Hello,

I want to calculate the product price based on Quantity selected like 

like 
1 - 10 nodes : $3.95
11 - 50 nodes : $2.95
51+ nodes : $1.95

Like if someone pick Quantity 7 then 7x3.95 = 27.65 or
if someone pick Quantity 14 then 14x2.95 = 41.3 

Same should work on Upgrade too 

I have to Use this logic with 1 single product and 1 single configoption 

Link to comment
Share on other sites

  • 5 months later...
  • WHMCS Technical Analyst II
  • Solution

Hey @Azhar Patel,

The best way to achieve this would be using either Promotion Codes or Client Groups, as per:

It would be possible to put together a hook to auto-apply these, or you can create product URLs that have the discount already applied:
https://docs.whmcs.com/8-13/products/promotions/#promotion-links

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated