Developer forum

Forum » Development » Get PriceAutoId from active price on a product

Get PriceAutoId from active price on a product

Niels Foldager
Reply

Is it somehow possible to grab the PriceAutoId or the PriceId from the price in EcomPrices that Dynamicweb has chosen to be the active price for a product?

Best regards,
Niels Foldager


Replies

 
Nicolai Pedersen
Reply

Hi Niels

Currently that is not possible... I can only think of finding the price using the value, currency, productid (and maybe user info) directly on the ecomprices table. Not super accurate depending on your price structure.

 
Niels Foldager
Reply

Hi,

Once again – now in DW10 – would it be possible to add the PriceId and/or PriceAutoId to the context / PriceRaw object for the price that DW has selected as the active price?

Best regards,
Niels Foldager

 

You must be logged in to post in the forum