Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2113

Phoca Cart • Attribute price calculation per letter

$
0
0
Hi all,

I want to do the following:
Some products have text customization. Right now I have done this with text attributes, where I can set a price, which is added to the product if the input field is filled out.
I would like to have the price which is added based on the length of the user input - like 5€ per letter. So if a user wants "Test" as customization, it should add 20€ to the product, and if a user wants "Test1234" as customization it should add 40€ to the product price.
Is there a way to achieve this with the options?

Kind regards,
Marco

Statistics: Posted by itn-ms — 28 May 2025, 11:19



Viewing all articles
Browse latest Browse all 2113

Trending Articles