Does uCommerce products support "dynamic" prices, that is prices that are calculated based on one or more factors?
i.e For a product and an input value from the customer, 1000 for instance, the price is calculated from a table of rates, for instance 2.7 and thus setting a product price to 1000x2.7 = 2700.
If not, can you extend the uCommerce system to do this in any way?
You could add a custom method to the basket pipeline and caculate the price based on entered quantity and your formula or look-up table. Then simply overwrite the price of the item and you're done.
I Marked it as a solution because I think that is the way to to it in theory. Much like how I would have done it in Commerce Server.
For this solution, however, you will need to add a custom task the the basket pipeline, which already have a price-task, I believe, and thus overwriting the default price.
Would it not be better, if possible to create your own basket pipeline, including all the steps from the oob pipeline exluding the price one, and add my own?
Product prize based on lookup-values
Hi,
Does uCommerce products support "dynamic" prices, that is prices that are calculated based on one or more factors?
i.e For a product and an input value from the customer, 1000 for instance, the price is calculated from a table of rates, for instance 2.7 and thus setting a product price to 1000x2.7 = 2700.
If not, can you extend the uCommerce system to do this in any way?
regards,
Ai
You could add a custom method to the basket pipeline and caculate the price based on entered quantity and your formula or look-up table. Then simply overwrite the price of the item and you're done.
Bye
Christian
Thanks for your reply Christian.
I Marked it as a solution because I think that is the way to to it in theory. Much like how I would have done it in Commerce Server.
For this solution, however, you will need to add a custom task the the basket pipeline, which already have a price-task, I believe, and thus overwriting the default price.
Would it not be better, if possible to create your own basket pipeline, including all the steps from the oob pipeline exluding the price one, and add my own?
regards,
Ai
is working on a reply...