Documentation You are here: start » v » 2.0 » shipping » custom_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
v:2.0:shipping:custom_code [2019/10/31 03:56] – [Enabling Custom Shipping Code] adamv:2.0:shipping:custom_code [2019/10/31 03:56] – [Writing Custom Shipping Code] adam
Line 19: Line 19:
   * ''rates'': The rates object for the cart, which will be prepopulated with any rates returned from other options enabled for the store   * ''rates'': The rates object for the cart, which will be prepopulated with any rates returned from other options enabled for the store
   * ''cart'': An object containing all of the information about the customers cart. For an overview of what this object looks like, [[v:2.0:shipping:payload|see this page]].   * ''cart'': An object containing all of the information about the customers cart. For an overview of what this object looks like, [[v:2.0:shipping:payload|see this page]].
- 
-==== Writing Custom Shipping Code ==== 
  
 Within the code editor, you can enter and javascript logic you require for calculating your custom shipping rates. As you enter your shipping code, the code editor will provide in-context feedback for any issues it may detect. Hover over any icons or highlighted code for additional details. Within the code editor, you can enter and javascript logic you require for calculating your custom shipping rates. As you enter your shipping code, the code editor will provide in-context feedback for any issues it may detect. Hover over any icons or highlighted code for additional details.

Site Tools