Skip to main content

Action Order Button

When creating the front-end for an action order button, the following must be set.

cloudsuite_ecommerce

  • ec.shop.shop.order_modal > ec.ordermodal: basic model definitions

cs_webshop

  • extensions/shop.py: read the order_action settings
  • views/basket.py: execute the behavior defined in the settings

cloudsuite_responsive

  • js/cloudsuite.js: a check for a "modal" key in the json response of the order button
  • snippets/order-modal.html: HTML for the modal