BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Gift Certificate causes Order.GetShippingGroups() to fail
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
Steps to reproduce: <OL> * Create a gift certificate with Customer Selected Price.
* Add gift certificate and one shippable item to an order.
* Call Order.GetShippingGroups() (or any ShippingProvider that calls GetShippingGroups()). </OL> The call to GetShippingGroups will fail because the ShippingMode for the gift certificate is ShippingModes.None. |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
One possible fix: add this line immediately before the Commit in the Save method (BVAdmin\Catalog\GiftCertificateEdit.aspx.vb), Code: p.ShippingMode = ShippingMode.ShipFromSite
Note that p.NonShipping is set to True, so this change will not cause the GC to be considered when calculating shipping costs. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.