How would I go about getting the current default purchase price for a product? The biggest issue I'm having is filtering on the date. What I have so far is:
product.getRelatedByAnd("ProductPrice",UtilMisc.toMap("productPriceTypeI
d","DEFAULT_PRICE","productPricePurposeId","PURCHASE"));
I know I saw a method somewhere related to adding conditions, but cannot
find it now. Thanks.
