We can set delivery method based on the items added to the cart also based on the subscribed user or address with residential // Get the shipping configuration and profile let shippingConfig = Configuration.ShippingItems.config; let profile = ProfileModel.getInstance(); let isSpecialSubscriber = profile.attributes.customfields.find(field => field.name === ‘yourCustomFieldName’)?.value === ‘T’; // Modify field name as needed //… Continue reading Set delivery method based on the items added to the cart
Tag: shipping method
Setup Default Shipping Method per Customer
You can choose a Preferred Shipping Method for each Customer in their Customer record. When a transaction is created for the Customer, their Preferred Shipping Method will be selected by default in the Ship Via field. Select a Default/Preferred Shipping Method for a customer: Navigate to Lists > Relationships > Customers Locate the Customer you… Continue reading Setup Default Shipping Method per Customer
To set up shipping method
We can select the shipping method we want based on the conditions using the code instead of selecting the shipping method by clicking on it in the website checkout page. The shipping method can be set using the setShipMethod() This method sets a shipping method on the order for all items in the cart. Use… Continue reading To set up shipping method
Change Tax Applied on Shipping Method
To change the tax applied on the shipping method used: Go to Lists > Accounting > Shipping Items > Select the Shipping Method used > Click Edit > Shipping Rules tab > Charge Tax On This Shipping Portion Of Item Field > Select tax code to be used Moving forward, when this shipping method is selected, the Shipping Charges will follow the tax code on the Charge Tax On This Shipping… Continue reading Change Tax Applied on Shipping Method
Points to Note While Removing ‘Free’ From Shipping Methods with Zero Rate
Removing the “Free!” text from the shipping method list displayed on the website on the checkout page using content management. We can only replace the text by blank space or any other alternative symbol or text. The Shipping methods with non-zero cost will be displayed in the UI, only zero-cost in shipping method the “Free!”… Continue reading Points to Note While Removing ‘Free’ From Shipping Methods with Zero Rate
Remove “Free!” on Shipping Methods with Zero Rate
We can remove the word “Free!” on certain shipping methods with zero rate. Navigate to Commerce > Content Management > Content > Customize Text Click Customize Navigate to Messages and look for the word “Free!” as the default text On the Customization field user may enter a space or any term to replace the word “Free!” Click Save
How to Convert ship method into abbreviated form for displaying in the SCA website.
In the NetSuite the ship method values contains 2 or three words in it for example: “3rd party FedEX” so if any client wants to display on the the abbreviation or a single word we can use the following javascript for converting the ship method. Example: “3rd party FedEX” can be converted into FEDEX and… Continue reading How to Convert ship method into abbreviated form for displaying in the SCA website.
Bigpost Integration with Magento 2
BigPost is a shipping carrier that provides a REST API for developers to integrate their shipping services into e-commerce platforms. To integrate BigPost API with Magento, you can follow these general steps: -Obtain API credentials: You need to register with BigPost and obtain API credentials such as API Key, API Secret, and Merchant ID. -Install… Continue reading Bigpost Integration with Magento 2
Suitelet to Show Customer based ship method
Create a suitelet to get the customer id from website and to get if the checkbox is checked or not and if it is checked then the value of shipping method field, if not checked set the shipping method as UPS . After that send result as object.
Cash Sale Print PDF Customization
Print shipping cost on cash sale print. The shipping cost is under the shipping tab of Cashsale. Need to print the shipping cost when it has value. If it is empty, shipping cost field shouldn’t be printed. <tr><#if record.shipmethod?has_content> <td align=”right”><b>${record.shippingcost@label}</b></td> <td align=”right”>${record.shippingcost}</td></#if> </tr>