The REquirement is to remove out of stock items from cart. We have an option in the frontend API. Adding the code below.
Tag: cart
Limiting ‘out-of-items’ to cart
The requirement is ‘out-of-stock’ items should not be added to the cart. By using the client script this can be achieved. So ‘out-of-stock items will not be added to the cart from any pages. clientscript 1.0
Redirect to Cart Page Extension
Extension for redirecting to cart page when user logs in from checkout page. Code snippet:
An error occured while processing your credit card. Please contact the merchant for further assistance.
Scenario: When you encounter a Payflowpro Verisign Billing error message “An error occured while processing your credit card. Please contact the merchant for further assistance.” when creating Sales Order from their Webstore in the Release Preview environment, check if you have received an email with the subject “Verisign v3 Billing Failure” and the said error… Continue reading An error occured while processing your credit card. Please contact the merchant for further assistance.
Updating Item options In Cart
For updating an item option in the cart when a customer adds any item to the cart, we can update it by using the function setItemOptions. Syntax: setItemOptions(itemlineid,optionMap) Updates the item options for a particular cart row. Parameters itemlineid [required] optionMap [required] {Array of Item Option ID value pairs} Example Extending Liveorder Model file to update the… Continue reading Updating Item options In Cart
Restrict customers to buy quantity more than the available quantity
Requirement: Restrict customers to buy quantity more than the available quantity.If the user tries to add the quantity more than the available one,then the value should be updated to the available value of an item. Solution: Update the client script that applies to ‘sales order’.And if the user adds value greater than the available value,then… Continue reading Restrict customers to buy quantity more than the available quantity
NetSuite SCA customization for Cart, checkout, shipping cost updates
Proposal summary The proposal covers the updates in cart, checkout, my account, and shipping cost calculations. Requirement Link to FedEx On the production test account ( crossfit@goodearthdist.com / GoodEarth123!) we have a shipped item fulfillment (80143) that is listed on SCA purchase history but the link to the FedEx website is broken. The link currently… Continue reading NetSuite SCA customization for Cart, checkout, shipping cost updates
Solving the Issues with customers not being able to order
Solve the Issues with customers being able to order