Cart Falls Apart: Module Review

Find other culprits

We can make a decent guess that the problem is with present code or missing functionality in the SwiftOtter_ProductDecorator module.

Let’s work through the files in the app/code/SwiftOtter/ProductDecorator/etc/ directory to see if we can find some potentially relevant aspects:

  • SwiftOtter\ProductDecorator\Observer\ApplyPrintSpecForQuoteItem::execute: adds the relationship between a quote item and the print spec into the database.
  • SwiftOtter\ProductDecorator\Action\Hydration\AddPrintSpecsToQuoteItems::execute: this loads in the related print specs to a given quote item. Note that this is called from a number of other classes, so it is important to pay attention to what is calling this method.

Complete and Continue