How to select variation based on value of personalization field
-
My client offers custom engraving on their products. The first 20 characters are included in the product price, but then they offer additional characters (up to 40 total) at $1 each.
i.e. –
Item with 20-character personalization = standard cost.
Item with 21-character personalization = standard cost + $1.
Item with 40-character personalization = standard cost + $20.I have created variations for each number of characters: 0-20, 21, 22, 23 … 40.
Right now I am using javascript to count and display the number of characters in the field, then have the customer select that number from the variations drop-down.
That works OK most of the time but sometimes people don’t pick the right number from the drop-down.
What I’d like to do is take the character count value from the personalization field and use it to select the corresponding Variation. Is this possible?
- The topic ‘How to select variation based on value of personalization field’ is closed to new replies.