I created custom products nodes using CCK, but the quantity discount select box doesn't show up for these products. Any idea how I can do that?

Comments

janusman’s picture

I think it's not that you are using CCK, but that I left out the fact that it has only been tested with tangible subproduct (e.g.: "EC Live Subproduct") types. This is a simple change, I will look into it.

zahor’s picture

Any updates?

janusman’s picture

Status: Active » Fixed

Fixed! Sorry for taking so long. Will post this soon.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

frankleelgt’s picture

Hi janusman,

where could I find the fix? the one available seems to be the Oct2007 version.

many thanks.

frank

janusman’s picture

Status: Closed (fixed) » Active

I'm sorry, I had problems connecting to CVS after marking the problem "fixed"; I will post the new dev version soon: bug me if you don't hear from me!

frankleelgt’s picture

Hi janusman,

while i was looking at the quantity_discount.module, line 427
if ($form_id=="product_node_form" && $form["type"]!="")

could i simpily change this condition for other forms to make it visible on other content types?

many thanks.

frank

frankleelgt’s picture

i made the condition to
if ($form["type"]!="")

this allows the Quantity Discount to show on all content types. but how could i make it so that it only shows in a content type that is also a product?

i.e. the original question of CCK compatibility.

many thanks.

frank

frankleelgt’s picture

hi janusman,

it does appear it's not as simple as that, because I realised althought the field is visible, the discount doesn't apply to the type.

could you kindly submit your update?

many thanks.

frank

janusman’s picture

I will be working on this soon. For now, can you try getting the newer 5.x-1.x version?

To really make this work I could use some help =) If none is available you'll just have to wait a bit =)

janusman’s picture

Version: 5.x-0.1.x-dev » 5.x-1.x-dev
Assigned: Unassigned » janusman
Priority: Normal » Critical
Status: Active » Fixed

Now fixed in the 5.x-1.x dev branch

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

dvasquez’s picture

Hello. For display the discount is needed change all coonditios posible?