KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: wafeneto on October 09, 2008, 10:24:54 pm

Title: set special price, sample code
Post by: wafeneto on October 09, 2008, 10:24:54 pm
hy, hy can i programaticaly set a special price of a product?
Title: Re: set special price, sample code
Post by: julie on October 10, 2008, 06:28:15 am
Using the Admin App API, you read the product (getProduct()) change the special price (setSpecialPriceExTax()) and save the change by calling editProduct().
Title: Re: set special price, sample code
Post by: wafeneto on October 10, 2008, 10:18:36 pm
but how can i set the Expiry Date of special product
Title: Re: set special price, sample code
Post by: julie on October 10, 2008, 10:44:32 pm
By setting the specialExpiryDate attribute.
Title: Re: set special price, sample code
Post by: wafeneto on October 10, 2008, 11:12:45 pm
tks Julie, it works fine :)
Title: Re: set special price, sample code
Post by: wafeneto on October 25, 2008, 08:53:38 pm
do you know where ( table and fields)  the data of special price and expire date are stored?
Title: Re: set special price, sample code
Post by: ryan on October 26, 2008, 07:20:19 am
Take a look at the specials table.