EmpireCheckoutPluginController
class EmpireCheckoutPluginController extends Controller
Class EmpireCheckoutPluginController defines checkout routes
Methods
API route for listing and rendering all order items
API route for listing and rendering all group products
API route for rendering quick cart
API route for adding shipping to order
API route for adding payment to order
API route for adding new promotion
API route for setting default tax value
API route for coupon (promotion) validation
API route for coupon (promotion) activation
API route for coupon (promotion) deactivation
API route for changing order state
API route for adding address to order
API route for changing order address
API route for changing order address by admin
API route for changing order item
API route for removing order item
API route for listing and rendering attributes for order selection
API route for coupon (promotion) activation for specific order by admin
API route for adding new item to order by admin
API route for searching products
API route for clearing cart, removing all items from cart
API route for order confirmation from one step chechout page
Details
at line 61
Response
orderSummaryAction(ArrayCollection $checkoutProduct)
API route for listing and rendering all order items
at line 146
JsonResponse
getAllGroupProductsForOrderAction(ArrayCollection $getAllGroupProductsForOrder)
API route for listing and rendering all group products
at line 186
JsonResponse
orderSummaryForCartAction()
API route for rendering quick cart
at line 232
JsonResponse
addShippingAction(ArrayCollection $checkoutAddShipping)
API route for adding shipping to order
at line 247
JsonResponse
addPaymentAction(ArrayCollection $checkoutAddPayment)
API route for adding payment to order
at line 264
JsonResponse
addNewCouponAction(ArrayCollection $addNewPromotion)
API route for adding new promotion
at line 279
JsonResponse
addNewTaxAction(ArrayCollection $addNewTax)
API route for setting default tax value
at line 294
JsonResponse
checkCouponAction(ArrayCollection $checkCoupon)
API route for coupon (promotion) validation
at line 317
JsonResponse
activateCouponAction(ArrayCollection $activateCoupon)
API route for coupon (promotion) activation
at line 330
JsonResponse
removeCouponAction(ArrayCollection $removeCoupon)
API route for coupon (promotion) deactivation
at line 346
JsonResponse
changeOrderStateAction(ArrayCollection $changeOrderState)
API route for changing order state
at line 370
JsonResponse
changeOrderAddressAction(ArrayCollection $checkAddAddress)
API route for adding address to order
at line 385
JsonResponse
changeShippingOrderAddressAction(ArrayCollection $checkChangeAddress)
API route for changing order address
at line 400
JsonResponse
changeShippingOrderAddressBackendAction(ArrayCollection $checkChangeAddressBackend)
API route for changing order address by admin
at line 416
JsonResponse
changeOrderItemAction(ArrayCollection $changeOrderItem)
API route for changing order item
at line 455
JsonResponse
removeOrderItemBackendAction(ArrayCollection $changeOrderRemoveItem)
API route for removing order item
at line 468
JsonResponse
renderAttributesForOrderEditAction(ArrayCollection $attributeEditOrder)
API route for listing and rendering attributes for order selection
at line 492
JsonResponse
applyCouponOrderEditAction(ArrayCollection $editOrderApplyCoupon)
API route for coupon (promotion) activation for specific order by admin
at line 507
JsonResponse
addOrderItemEditOrderAction(ArrayCollection $changeOrderAddItem)
API route for adding new item to order by admin
at line 548
JsonResponse
productSuggestionsSearchJSONAction(ArrayCollection $changeOrderSearchProducts)
API route for searching products
at line 565
RedirectResponse
clearCart(Request $request)
API route for clearing cart, removing all items from cart
at line 619
JsonResponse
oneStepCheckoutJsonAction(ArrayCollection $oneStepCheckout)
API route for order confirmation from one step chechout page