cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BundleTemplates - startBundle for each component?

Former Member
0 Likes
414

Hi! We are working on the Telco Accelerator and try to upgrade from 6.3 to 6.7.

Since the bundleNo is now deprecated and using the now deprecated addToCart method from BundleCommerceCartFacade did no longer work for us we try to use the new startBundle method.

Given there is a BundleTemplate for the DEVICE and another BundleTemplate for the TARIFF, both linked together by a parent BundleTemplate, how often do we must incoke startBundle?

Our first assumption was that we must invoke startBundle once for the DEVICE and afterwards add the TARIFF by addToCart providing the entryGroup number for the DEVICE. This did not work because of failing validations in BundleAddToCartMethodHook (TARIFF is not part of the same BundleTemplate than the DEVICE).

Now we assume that we must invoke start Bundle twice ending up with two EntryGroups (one for DEVICE and one for TARIFF).

Please can anyone tell us if this is the proper way?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Meanwhile I found out by inspecting the accelerator (recipe: b2c_acc_plus):

After invoking startBundle for the DEVICE we have to add the TARIFF via addToCart by providing the entryGroup number of the TARIFF component.

Obvious once I know.

Ask a Question