My Stuff

BrettKnights Red Ribbon

Comments

  • The way I generally do this is: 1. Add a blank tag in your web site tags area e.g. CAT_STYLES 2. Go to your site theme and in the "Additions to Head" add <style type="text/css"> <CAT_STYLES> </style> 3. Go to Lists |Website|Tabs and in the Checkout tab do a tag substitution for the styles you need in the…
  • The problem is that IE interprets your site in quirks mode. In order to enable the type of functionality you are looking for you need to add a doctype header. You do this on the advanced tab of web site setup. Paste the following into the Document Type field: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01…
  • You can do quite a bit with CSS only. You can add markup to many of your standard buttons and headings by judiciously editing web site text, your theme and adding mode specific (i.e. in checkout) markup using tag substitution. Once you've got the markup you need you can maniuplate it with CSS and Javascript. Take a look at…
  • Sorry but I have to say your developers must have had a nasty habit of breaking Netsuite forms. I've used jQuery on over a dozen Netsuite sites without complaint.
  • Yes you are referring to the problem that it's possible to move form elements such that they are no longer part of the form. But having to be careful with forms is not a reason not to exclude jQuery. What seemed to be implied by your statement "jQuery has a nasty habit of breaking NetSuite forms" was that jQuery caused…
  • You can use CSS for this. Add something like the following to your form template <style type="text/css"> #comments{width:300px;height:200px;} </style>
  • re: features I don't think NS is ever going to just give us PHP to play with. Right now you can pretty much deliver the user interface you want to using jQuery and tag substitution. e.g. The "sign in" link on warby parker. This sort of technique doesn't allow SEO friendly markup however. What would be great if NS…
  • Rather than information items, which can't have such things as custom fields, you can do this with a regular non-inventory item with a custom drill down template. These items could have custom fields for release date and expiration date and a script could add/remove them from an 'articles' tab based on their dates.
  • I've not used any third party search with Netsuite's internal sites but I have with external sites. They can be great. It's also pretty easy to roll your own. Check out the search at http://www.locox.com/ -- it's suitelet based so doesn't work with results of more than 1k items and doesn't search categories or info items…
  • Hi. Your example page doesn't show an "order sample" button or link. If the iframe and parent page are in different domains then you cannot call a parent function from the child iFrame. Normally the easiest way to deal with this is to assume that loading the iFrame should trigger an action. If you do that then you give…
  • If all your inventory is available for your web store you can use <%=getCurrentItem('item', 'quantityavailable')%> or <%=getCurrentItem('item', 'quantityonhand')%> and the available quantity will be calculated based on the minimum kit member quantity. I haven't tried to use the stockstatusmessagehtml for kit items but I…
  • You can do this real time by pulling the kit members via AJAX and a Suitelet or you could format your kit members with a script into a textarea or long text custom item field and then include that field on your item template. If you are using price levels you might also want to use a bit of both to get the kit information…
  • I found a workaround for this: add: &lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"&gt; to the theme's "Addition to Head" section and while the site doesn't benefit from IE8 advances at least it doesn't suffer. (and we still have to make sure the site works on IE7 anyway.) HTH
  • You know... I've been thinking about this entire process. I actually need to create a Suitelet to handle registration process but in order to have people auto login by jacking the original Login Form, you would need to process the user registration using Ajax. So They fill out the form, click submit, that action will call…
  • Hi Elaine, I sort of agree with you but consider this. I've implemented duplicate detection and warning functions for 4 different clients. In each case the duplicate criteria was slightly different. -- in only one of these was the duplicate detection criteria for logins the same as the general duplicate detection criteria.…
  • Why can't you send the login information via a POST request when you use your AJAX? (That XKCD comic was very funny, by the way) This is getting a bit off topic, so it may be worth starting a new thread. DOH! Because even though I've manipulated which domain I use for suitelets a bunch of times I'd forgotten I could do…
  • Mstalker, I'm looking for a way to have them automatically logged in once they complete the registration (online customer form) page. Any ideas? Thanks, Joyce www.therapon.com You can check out the code on www.warbyparker.com. This does the login after registration as follows: [LIST] [*]The custom reg form is injected into…
  • I have a number of items that use the same image. I want to export the items and drag and drop the image name to the similar items and re-upload the file. However, when I export the Store Display Image instead of getting image.jpg I get: /core/media/media.nl?id=199&c=1015608&h=f7345af0cfca3493751d If I then map this to the…
  • One work around for issues like this is to create a shadow custom field and keep that in sync with the selected item drilldown template. Then you can search on the shadow field and use scripts to update the template. e.g. new custom item field list/record from Site Template It doesn't look like you can source this from the…
  • Is your coupon limited by partner at all? the script API needs the internal id of the coupon, not its coupon value.
  • Hello. In the past I've done the following for the customer migration scenario: Generate a secure time sensitive hash of the customer id, expiration time and a secret key. The hash can be generated with nlapiEncryp or you can use a third party library http://pajhome.org.uk/crypt/md5/ which does more than md5 despite the…
  • I second this. Also I've found it's generally more efficient (time/performance/development effort) to push fulfillments to a 3PL directly from Netsuite. Sometimes you need an FTP gateway if the 3PL can only receive orders via ftp and you want to send orders continuously. (I've had some customers where the NS automation…
  • You'll have to go into the generated source and remove the multi-arg constructor. Then you'll have to avoid creating any of those objects with the long constructors (not too hard -- just use the no args constructor and set fields on the object)
  • I received that error when importing fulfillments via script. The fulfillments were handled by a fulfillment house that picked the ship method based on cost and time. I ended up going back and changing the shipmethod and carrier on the sales order before initializing the fulfllment: if(ffShipCarrier != shipInfo.shipcarrier…
  • Your SysAdmin should be able to help you with this. The process would be setting up a proxy on some web server that they deem acceptable for connecting to the web. I use a recording proxy when doing unit tests on Web Service calls and make the NSClient use the proxy connection by including http.proxyHost and http.proxyPort…
  • Excellent! I'm not the OP but I had missed this in the docs. This will allow some elegant solutions. Now if only we could use a dynamic group as a search criteria e.g. new nlobjSearchFilter('group', null, 'anyof', dynamicgroupid) I've never understood why we can't. Group membership would be a non-correlated sub-query so…
  • Sorry. No. All that works when pasted into a firebug console window. I know there have been comments in the past about the differences between client and server side XML parsers. In the case of not finding any nodes on the client nlapiSelectNodes returns undefined so you'd have to check that as well or you'll get an error:…
  • I suspect your queries aren't working because the code you are looking for is in a node that has a namespace but no namespace prefix. Netsuite's handling of namespaces is pragmatic rather than standards oriented. I haven't had a problem with this yet but who knows... Anyway the trick is to use the namespace prefix nlapi:…
  • Tristran, Since the existence of an EmpowerMessage element signals the error you could do: var errors = nlapiSelectNodes(x,"//ns2:EmpowerMessage"); // note the plural if(errors.length){ // deal with the errors }
  • You are getting an error because the RecordRef applyTransType that you create must have either an internalId or externalId. It's not clear though what you are trying to do. It sounds like you have a sales order's internal id and are wanting to find the fulfillments. If so then you would search fulfillments for a matching…