Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Variations stack
- This topic has 5 replies, 3 voices, and was last updated 14 years, 10 months ago by
amin007.
-
AuthorPosts
-
January 21, 2011 at 11:05 am #2549
fpierron
MemberHi
Is there a clean way to configure the selector to make choices like :
quantity :
beetween 1 and 10 : $10
beetween 11-25 : $8
above : $5
Regards
January 21, 2011 at 12:20 pm #28249wpCommerce
ModeratorHi, please have a look at the following forum post –
https://support.tipsandtricks-hq.com/forums/topic/price-variations
January 21, 2011 at 12:45 pm #28250fpierron
MemberSorry for my poor english.
I explain again. My Problem is with the backoffice : My client can choose to buy “weeks of course”. They can buy between one to many weeks.
The price depends on the number of weeks they buy.
1- 5 : $10 each
6-15 : $8 each
above : $5 each
How to manage that ? Do I have to make a huge option list with a base price; or is there a way to calculate the price depending the number of weeks they had bought ?
January 21, 2011 at 12:58 pm #28251amin007
ParticipantYou just make a variation with the 3 different options. For example, use a base price of 0 and enter the following in the variation 1 field:
Weeks|1- 5:10|6-15:8|above:5
January 21, 2011 at 1:06 pm #28252fpierron
MemberThanks but it does not work.
If a client buys me 4 weeks, he will have to pay 4*10 = $40
If a client buys me 7 weeks, he will have to pay 7*8 = $48
January 22, 2011 at 4:14 am #28253amin007
ParticipantIf you select the variation that says (1-5) then that mean you are buying something that is between that number of weeks. So why are you changing the quantity again after you select that variation option. Since you want to charge the same amount for anyone ordering between 1-5 weeks there is no need to change the quantity. Simply use the “Customer Input” option from the additional product details and the customer will be able to enter the number (example 4) in that field so you know that they bought 4 weeks.
So to sum it up your customer input field will say number of weeks where the customer will enter 4 (if they are buying for 4 weeks) then they just select the variation that covers 4. In this case the variation will be 1-5 and then they can hit add to cart and checkout.
-
AuthorPosts
- You must be logged in to reply to this topic.