on 2018 Jul 10 3:05 PM
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!
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.