My Stuff

BrettKnights Red Ribbon

Comments

  • hi Joyce, There are a couple of techniques you can use to accomplish this. 1 is to add an iframe to you item drilldown page and make it the target of your add to cart form. Then you'd show the message in an onload event handler attached to the iframe. The other way is to replace the add to cart button with one that uses…
  • Hi Toma, Thanks for this. (and to Netsuite too for finally making the process straightforward) You might want to mention in your guide that code in the analytics add to head section does not get added to hosted pages. If you want to track hosted pages you can just move your example's script tag to a Netsuite tag and…
  • Yes you'd have to create a full script to make use of these fragments. If you've not done any programming you've got a bit of work to do. I highly recommend "Javascript: The Definitive Guide". This code doesn't show how to change the image. It is possible to load categories server side though and update their fields like a…
  • Hi Cloud, It sounds like this code could do what you want. You'd end up with the same related items showing each time you view the Christmas tree. A script could be set up that you could re-run whenever you wanted to change the lights and/or skirts etc assigned to each tree. If you want the related items to be different…
  • Is there a way to randomize related items that show up per category? Every time we click on a category, the same related items show up, and we want to randomize it. Do you mean that for each item assigned to a category you'd like its related items to be a set of random items from that category? It is possible to do this…
  • I've done a number of these. What you are wanting to do would be pretty straightforward. You'll be adding/removing the free item in the recalc event. The biggest issue is that when you add or remove an item from the order recalc is called again so you need a way for recalc to not get caught in a loop. This thread shows a…
  • Mayur, the core script for altering items related to an item is: var itemRec = nlapiLoadRecord(ki.getRecordType(), ki.getId()); var currRel = itemRec.getLineItemCount('presentationitem'); for(var i = currRel; i> 0; i--) itemRec.removeLineItem('presentationitem', i); styleItems.forEach(function(ri){ if(ri !== ki){…
  • AFAIK you can do the following: - include Netsuite's breadcrumbs on your category pages. This provides clickable links to the ancestor categories. - parse the crumbtrail client-side and manipulate the target of your "up" button (what you are asking for isn't really a back button). I realize this is not what you want but I…
  • IIRC it's in the docs that the standard multi item add to cart doesn't invoke the validate item event.
  • Typically the simplest way to change something at the tab/category level is to make the original style depend on a tag in your theme that you then override (tag substitution) in the tab/category where you want the change. This can be as simple as adding some extra styling or as complex as adding some extra script. If you…
  • Thanks for that . I didn't even know this emptycart.nl url existed
  • I'm sort of new to this and am having trouble figuring out how to do something. My scenario is this: I've build a page on my site where people choose what they want to order and then submit it. The form submits to netsuite adding multiple items at once to the shopping cart. That works great. But if a customer wants to edit…
  • wouldn't that be nice. I am assuming you want the id's in a client script of some sort. If so the following jQuery snippet run from the review and submit page will give you a list. You can then store the value in a cookie or use one of the local storage mechanisms available in html 5 (or a toolkit that simulates it for…
  • Am I going crazy or we cannot update Store Categories through CSV import? I tried looking into XML import but the options are so limited for categories (description, detailedDescription, isOnline, isInactive) I want to be able to update the Meta Tag on the store categories, we have thousands, to do this manually it's....…
  • There is still an smbxml developers guide available on the help. Here's an example of an xml import file. You can have thousands of categories in the file. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE smbxml SYSTEM "http://www.netsuite.com/xml/dtd/smb_5_01.dtd"> <smbxml missingFieldOverwrite="false">…
  • Lots of shipping functions use the postal code as a geographical lookup. I'm not sure what Netsuite does in this area but I know for FedEx some services are restricted by postal code. e.g. guaranteed early morning next day delivery was, at least at one time, limited to the business districts of large cities that had a…
  • I think these are all fixed. I just released an SCO integration where a couple of custom records are queried. You need to set permissions for Shopper and Customer Center. I used view only for both and that worked no problem HTH
  • I've noticed many websites that have buttons on item that are out of stock-- that say Notify Me When in Stock. This is exactly what we need-- would save sooooo much time in customer service call backs etc. I have not seen that this is something available in netsuite, but though that someone might know of a workaround, or…
  • As long as the suitelet you are using is marked as Available without login you can just change forms.netsuite.com to checkout.netsuite.com in the script url
  • I can show you a couple of examples where I've implemented this sort of thing for people: on http://www.locox.com/Lifestyle/Footwear the "Narrow your selection" dropdowns apply a set of filters to the items in the displayed category. on http://www.fmwfasteners.com/ click "Search by Drop Down" in the lh nav. That one…
  • I've often had this as a sudden "wait a minute..." but consider that scripting a post is no different than having the person submit the supplied form. The basic rules of any web application apply: [LIST] [*]never eval or run code submitted publicly unless you sanitize it. [*]try to treat submitted values as function…
  • When overriding the standard login form I put the tags in the footer of the theme. Generally the outermost markup of the tag will be a div with style = "display:hidden" Then a script is used to detect the presence of the login fields and the custom registration pane is added to the page via script. this has to be available…
  • There are various ways to achieve this. All of which I am aware require some scripting. I think the simplest way from a web site perspective is to build a non-inventory matrix item that mimic's the options you would like for the assembly. Then you'd have an assembly for each combination of options and a script on the back…
  • I don't mean to be rude but you've asked a lot of questions and haven't provided much evidence that you yourself are trying to apply the hints and suggestions given. I have offered to help you with this (as a contract) and have provided a number of sample links (on this and other threads) that should help you achieve what…
  • Our company is a wholesale distributor, so we want our whole site password protected so only registered dealers can access our product listing, but we want to be able to provide some info about the company on the login page, as well as links to download a dealer application (or better yet, fill out an online lead form).…
  • Hi There, some of you have already seen this reference but I thought I'd post it here as well. http://www.warbyparker.com has a nice integrated log-in/registration page. The basic trick there is to inject the form you want (see the page script); submit the form via AJAX and on successful customer creation put the supplied…
  • Hello, for the examples I've given an simple version of the AJAX driven existing customer check could look like the code below. Generally I use a more robust JSON serializer but this one was written as a one-off function checkUniqueRegEmail(request, response){ function sendJSResponse(request, response, jsString){…
  • You could also use a kit with a single item and inactivate the kit via script when the 75th has been included on an order or experiment with using a kit and assigning a location to the kit so that it can only be fulfilled from the location Olivier suggested. (I don't know if that works but it's easy to test). I've kicked…
  • e.g.: http://www.locox.com/Street-Bike/Leather-Motorcycle-Gloves/Icon-Gloves-Timax-TRX-Short The basic idea is that there are a bunch of alternative images on the parent item. One for every color and assigned in alphabetical order by color e.g. if you had two colors red and blue the blue image would be referenced in Main…
  • I posted a sample check unique email script at: https://usergroup.netsuite.com/users/showthread.php?t=26192&page=2 HTH