Bundle script Fixed amount off for 1 item

Bundle script Fixed amount off for 1 item

allred
Visitor
1 0 0

I would like to create a bundle script that is Buy X & Y (1 to 1 ratio), Get $5 off Y.  I am only able to get it to apply $5 total to both items ($2.50 off each).  Yes, an automatic discount works for a solution to this but I am unable to let customers use a coupon code against the non discounted item in the bundle.  Is this possible?

 

BundleDiscount.new(
:all,
nil,
nil,
FixedItemDiscount.new(
2.5,
""
),
true,
[{:type => "pid", :qualifiers => ["6107037532344"], :quantity => "1"}, {:type => "pid", :qualifiers => ["7246172750008"], :quantity => "1"}]
)
].freeze

Replies 0 (0)