Aaron McCausland
12/03/2024, 7:27 PMSteve Goldberg
12/04/2024, 10:23 AMremoveChildView()
method in the extensibility API to literally remove it from your app.
> • Interactively interpret all Quantity inputs and views in a different unit of measure than the preferred Sales Unit (web store shoppers buy the same items as we put on SOs in the NS UI, but we want them to purchase by the pallet for full truckload, rather than by the units we use in Accounting).
This would still be quite JS heavy, but you would write an extension for this. I'm thinking you could use the extensibility API's beforeAddLine()
event to modify the quantity the user adds to the cart, to make sure the right amount of UOM is added. But non-eaches UOM is quite a complicated thing to get right on SuiteCommerce, unfortunately.
> • Add links, buttons, etc. to external URLs and to Suitelets.
Again, a bit vague, but generally you would add these elements as views/templates via an extension.
> • Content that reads and writes data every time it's interacted with, not just on page load or order creation, and can do so with records other than items, transactions, and entities, or with those which are not available in the web store to the logged in shopper.
Yes, this is a standard extension. So standard, in fact, that I wrote it as the basis of my tutorial (see https://developers.suitecommerce.com/develop-your-first-extension.html).
> • Custom handling of Item Groups, Assemblies, and Kits.
We don't do item groups in SC, so I would be careful about this. Assemblies and kits - well, again, it's a bit vague but I would urge you to do whatever you need in an extension, and perhaps a custom layout for displaying it.
> • Make native fields mandatory/not mandatory in the web store when they are the opposite in the NetSuite UI.
We would generally use events and validation in extensions to do this.
> • Change the page interactively, hiding/showing things or updating text contents, triggered by things like Address info being saved, Shipping Method being selected, etc.
Actually not a terrible thing to add in blocks via SMT but, again, I would say to do this in an extension. You can access the DOM and things like events in extensions. It's cleaner.
> • Add freight cost estimation to the Order, based on distance from the proposed fulfillment origin location and weight/dimensions of the order, using a combination of pre-calculated data from external service APIs and the data in the shopping cart.
Again, not a terrible thing to inject via SMT, but, again, extensions are probably better.
> • Make the facet-view Add To Cart buttons use the Minimum Quantity of the item instead of 1. None of our items has a minimum quantity of 1, so they reject being added to the cart from the facet views, which assume we want a quantity of 1.
You could implement this via an extension.Steve Goldberg
12/04/2024, 10:25 AMSteve Goldberg
12/04/2024, 10:33 AMsetInterval
- yeah you shouldn't need to do this. We have a pretty complex events stack in SC, so you should be able to listen for something to happen rather than wait an arbitrary about of time.Aaron McCausland
12/05/2024, 6:54 PMSteve Goldberg
12/06/2024, 9:49 AMwhen it came to solving the multiple Units of Measure problemUoM is a very difficult problem to solve with SC because we only ever support 'eaches'. The best solutions I have seen are ones that effectively hide the native add-to-cart interface and replace it with their own using a kind of converter. Depending on your use cases, it should be doable with extensions, but some people prefer SCA, but that is a different kettle of fish.
Aaron McCausland
12/06/2024, 4:55 PMSteve Goldberg
12/06/2024, 5:08 PMAaron McCausland
12/06/2024, 5:31 PMSteve Goldberg
12/06/2024, 5:32 PMSteve Goldberg
12/06/2024, 5:33 PMAaron McCausland
12/06/2024, 5:35 PMSteve Goldberg
12/06/2024, 5:36 PMapplication.on
which lets you listen to every service call and do stuff before letting it passSteve Goldberg
12/06/2024, 5:36 PMSteve Goldberg
12/06/2024, 5:38 PMSteve Goldberg
12/06/2024, 5:39 PMSteve Goldberg
12/06/2024, 5:39 PMSteve Goldberg
12/06/2024, 5:41 PMSteve Goldberg
12/06/2024, 5:42 PMAaron McCausland
12/06/2024, 5:48 PMAaron McCausland
12/06/2024, 5:50 PMSteve Goldberg
12/06/2024, 5:51 PMIt seems to work, but it's a bit of a bother for our Items Master, and it makes things weird on the PDFs and Sales Order to the point that we're thinking about automatically copying all the components out of the kit into the rest of the Sales Order right after it is placed, and deleting the Kit.This doesn't sound right. We specifically have a feature for expanding the contents of the kit onto sales orders – at least when they are printed/PDFed/emailed
Steve Goldberg
12/06/2024, 5:51 PMAaron McCausland
12/06/2024, 5:52 PMAaron McCausland
12/06/2024, 5:54 PMSteve Goldberg
12/06/2024, 5:55 PMAaron McCausland
12/06/2024, 5:55 PMSteve Goldberg
12/06/2024, 5:55 PMThe Distributor shoppers place their order and then we work out some more details with them before fulfilling it.Well, we support quoting if that's more your biz's style
Steve Goldberg
12/06/2024, 5:55 PMAaron McCausland
12/06/2024, 6:03 PMAaron McCausland
12/06/2024, 6:07 PMSteve Goldberg
12/06/2024, 6:14 PM