Developer forum

Forum » Development » Add to Cart - custom UnitPrice

Add to Cart - custom UnitPrice

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I have a weird issue to try and solve. Is there any way I could submit the unit price when adding a product to a cart through query string parameters?

 

This is for a Sales Rep feature where they require some flexibility to change the unit price. We've solved it in the past by editing the cart throught the API and changing the orderline type to "2", but now I need to try to solve it prior to adding to cart.

 

I guess we can ultimately do that with the API, but I wanted to avoid building an "Add to cart" method if I can a DW's non-API way to add products to the cart.

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Nuno

No, that would be the biggest ever security breach. So API or even better, priceprovider...

BR Nicolai

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Yep, I figured that, but wanted to check. Thanks.

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum