- Posts: 36
- Thank you received: 0
Any questions about Documents Sellers, post it here .
Custom field to add 10% to price based on dropdown
- Peter Batchelor
- Topic Author
- Offline
- Junior Member
Less
More
11 years 2 months ago #37270
by Peter Batchelor
Custom field to add 10% to price based on dropdown was created by Peter Batchelor
I need to use a custom field dropdown or radio buttons to allow users to select between being inside Australia or outside Australia.
If a user chooses "inside Australia" then I want to add 10% to the price of each item they are buying
I've set up a custom field, called dms_GST
I've set it as a dropdown
I've set it as a required field
I've given it two values - Inside Australia, and Outside Australia
It is set as a fee field
There are two Fee Values are set as 1.1, and 0
The Fee Formula is set as [FIELD_VALUE]*[PRICE]
Unfortunately, this isn't making a difference to the price when a user confirms the order and checks out.
The only way I've been able to get this to work at all is to not use a fee formula, and have one value in the Fee Values field. This won't work for me though, as not all products have the same price.
What am I doing wrong?
Peter
If a user chooses "inside Australia" then I want to add 10% to the price of each item they are buying
I've set up a custom field, called dms_GST
I've set it as a dropdown
I've set it as a required field
I've given it two values - Inside Australia, and Outside Australia
It is set as a fee field
There are two Fee Values are set as 1.1, and 0
The Fee Formula is set as [FIELD_VALUE]*[PRICE]
Unfortunately, this isn't making a difference to the price when a user confirms the order and checks out.
The only way I've been able to get this to work at all is to not use a fee formula, and have one value in the Fee Values field. This won't work for me though, as not all products have the same price.
What am I doing wrong?
Peter
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 1 month ago #37585
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Custom field to add 10% to price based on dropdown
Hi Peter
I don't think you need to use [PRICE] tag in the formula. Why don't you simply use [FIELD_VALUE]*10 (assuming the price of the document is 10)
Could you please try ?
Tuan
I don't think you need to use [PRICE] tag in the formula. Why don't you simply use [FIELD_VALUE]*10 (assuming the price of the document is 10)
Could you please try ?
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.