Share » Forums » Developer » Adding Two prices to the node

Adding Two prices to the node

Adding Two prices to the node

Wednesday 04 March 2009 8:58:49 pm - 2 replies

Author Message

Bruce Morrison

Wednesday 04 March 2009 9:43:05 pm

Hi DK

eZ Doesn't allow for products to have 2 prices.

To do what you want you need to have both a price and option attribute in your product. In the content object you set the price to 0 and add options for each Full Price and the Partly Payment price.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

D K

Thursday 05 March 2009 9:12:55 pm

Hi Bruce,

I tried with option thing. But it didn't work properly. Then I have gone through the php files and realized that if there are two prices it takes the first price in the attribute loop.So I have added some conditions there. I have changed the basket form (Added new hiiden fields), basket.php added some sessions and ezbasket.php.

It works fine.

Thanks.

http://www.eyepax.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu