Search found 14 matches

by cjr
27 Jul 2020, 12:15
Forum: Laravel package
Topic: Custom shipping CalcPrice being overwritten for delivery
Replies: 2
Views: 970

Re: Custom shipping CalcPrice being overwritten for delivery

So far I found a workaround where I store the basket in the session, and then pull it out of the session before the transaction is written to the db.
by cjr
24 Jul 2020, 14:10
Forum: Laravel package
Topic: Custom shipping CalcPrice being overwritten for delivery
Replies: 2
Views: 970

Custom shipping CalcPrice being overwritten for delivery

I have a CalcPrice decorator for my delivery service. It hits an external API to get the costs for shipping. I extended the Service\Provider\Base.php->calcPrice to take in an array of values from my external API function. It defaults to an empty array if nothing is passed in. The cost is present in ...
by cjr
21 Jul 2020, 17:09
Forum: Laravel package
Topic: Where to store tracking info for products that have been ordered.
Replies: 1
Views: 689

Where to store tracking info for products that have been ordered.

I am looking to store tracking information for services such as fedex and UPS for products that have been ordered. After an order is submitted, a third party API will send back tracking information that I need to attach to the individual products of each order. Should I use mshop_order_base_product_...
by cjr
08 Jul 2020, 17:02
Forum: Laravel package
Topic: Access Order info in Process()
Replies: 1
Views: 706

Access Order info in Process()

I am implementing a custom payment method and am trying to access the order info in the process() function. $get_order = $this->getOrder($order); $order_base = $this->getOrderBase($order->getBaseId(), \Aimeos\MShop\Order\Item\Base\Base::PARTS_ALL); Both $this->getOrder() and $this->getOrderBase() re...