Read Price of product from web service

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hello

I´m trying to take the price of a web service, i know this is not the best way for an e-commerce but is necesary for the company. I need take the price and show this price in the views but i need have a diferent price in database, i mean, to have a base price in database for some customers and get price by a web service for show to some specified customers. The thing is: when i try to put a price from web service in the PrepareProductPriceModel method inside ProductModelFactory class, this price is saved in the database too and i need that this price only be show and don't saved in database, how can i do that?

Please, any suggestion is great, thank you.
5 years ago
I do not understand your goal, but have you look at tier price feature, while it allow to assign price to customer role?
Of course, that will be stored at the database, but it is available as standard nopCommerce feature, and does not change "base" item price.
Just quick thought about changing price - when changing price for customer, you should also consider to set proper value for checkout as well.

Regards,
Tom
5 years ago
Hi Tom,

My goal is consult a prices of products in real time and show to customers, i dont need store this price just take the price from web service and show this and keep the base price in database. I saw the tier price option but we cant take this option because every customer in the store have a diferen price, the company do not have a rol per customer, everybody has a diferent price.
5 years ago
I´m trying to do the same case of this topic

https://www.nopcommerce.com/boards/t/29196/per-customer-pricing.aspx

anyone knows something about it?
5 years ago
This might help you
https://www.nopcommerce.com/boards/t/28869/urgent-modify-the-shopping-cart-item-price-but-do-not-modify-the-product-price-after-add-to-cart.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.