KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: graemian on December 22, 2007, 09:37:56 am

Title: Is there an API call to get product attribute price including tax?
Post by: graemian on December 22, 2007, 09:37:56 am
Hello,

I have product attributes "Short", "Tall" and "Grande". I've modified the product listing page to have columns for each of these. I now need to display prices in these columns, but I can't find an API call that will give me the attribute price including tax.

Can anyone point me in the right direction?

Thanks,
Graeme
Title: Re: Is there an API call to get product attribute price including tax?
Post by: pete on December 22, 2007, 10:22:37 am
Hi Graeme,

When you call the getProduct() API call it returns a fully populated product object that has an array of options (getOpts()). Each option has a method getPriceIncTax() and getPriceExTax().

Regards,

Pete