My Stuff
Comments
-
...we want the ability to "automate" the creation of like site categories... As a workaround it's quite easy to create a site category using SuiteTalk. What I do is capture the SOAP messages for a SuiteTalk session and then turn the xml into templates where I can fill in the blanks with Javascript in a suitelet. Then…
-
Charlie, Obviously this works internally for Netsuite since transaction forms merge both customer information and transaction information. The only way I've found to merge two other records is using a script. See the SuiteScript documentation for: nlapiMergeRecord(id, baseType, baseId, altType, altId, fields) and if you…
-
I do but it's a hack. I implemented Spring Security with SAML for the SAML part. Once authenticated I use SSO to actually send the customer back to the store. SLO works; I don't know what control you have with your IDP but in order to retain the cart you need to append the ck and cktime parameters to your return url. (at…
-
From NS Support: The url for the published saved search needs to be the full one. When referencing a normal category generally only the url component is sufficient: /Url-Component However for a published saved search you must include the full path: /Tab/Url-Component
-
Thanks but that doesn't appear to be it. The search has the same permissions as the account with the working published saved search.
-
Any insight? Not really no. Any other client scripts running?
-
Hi Steve, I am working with the 1.1 version and the remove line item call seems to work ok regardless of the number of items in the cart. When you debug the call does the orderitemid look something like: "item5set38"? If not then the bug is in the client code. HTH
-
Thanks but that's not it. I can navigate to the page but it just doesn't return any items. No audience selected just Display In Web Site.
-
this has worked: var mf = document.getElementById('main_form'); mf.setAttribute('action', regURL); mf.action = regURL; if you've iframed your form: mf.setAttribute('target', '_top');
-
Can a sandbox of the production account have a domain name. The feature is there, but when I add a domain name via domains and set up website, it is not being recognized. (doing the same with the domain name in the production account it is recognized) The process for setting up a domain name on a sandbox store is almost…
-
There is currently no way to search for related items. In a web page you can check for the existence of related items by including <%=getCurrentAttribute("item", "relatedItemsHTML")%> in the item template. Have your related items template include an id or class you can easily check the existence of. If you just want…
-
Actually there are a couple of ways to accomplish this. One is to put an ajax call to a suitelet on your page and pull the current stock level from a particular location dynamically. The other is to create a custom field and update that whenever a stock affecting transaction takes place. e.g. in a user event script on…
-
Elie, This was originally a request for some ideas on how to do this in a web site. Using a saved search is one way for a suitelet to assemble the relevant inventory information but the OP still needs a way to get that to the site. Whether to use a custom field or suitelet call depends in part on how busy your site is. If…
-
Hi Elie, when you have multiple locations you'll get a line per location. In order to know which location the line is for you need to include "Inventory Location" in your search and then manually group things from there or you could add aggregate columns in the search. The blank field is where there's never been inventory…
-
Yes. The difference is in the parameter &ext=T on the cart URL. If you are viewing the cart and want to simulate an NS web store then cut that part out.
-
with jQuery something like this would work. #phonediv assumes the div holding the phone number has that as its id: [CODE] $(function(){ $("#phonediv").filter(function(){return /leadsource=xxxx/.test(location.search);}).hide(); }); [/CODE]
-
You cannot use the xhtml doc type with Netsuite. sure you can enter it but your pages still not be valid xml (a prerequisite to xhtml). The html 5 doctype is simply: <!DOCTYPE html> Most modern browsers will recognize that and at least work in standards mode. You may have to override that on the customer center and use the…
-
Kyle, The NLCOLUMNCONTENTS tag is used as a place holder for the markup appropriate to the section of the theme in which the tag appears. i.e. it'll be different if it appears in the left nav vs the body. The page you are working on is a hosted page. It has no way to know what NLCOLUMNCONTENTS refers to. If you are trying…
-
No but do you have a url?
-
Something can likely be done with Scriptable Checkout (SCO). I've recently done a couple of freight calculations that override the built-in shipping. Your SCO should be able to detect when a shipping item is selected and if it is "Will Call" and the ship location isn't some special value change it to your preferred default…
-
Set up> website > Web Site Assistant Set Up Web Site --> go here and find the advanced tab Domains Themes Layouts color Themes Item/Category Templates Tags Redirects Related Items Categories Customize Text Preview Web Site Web Site Hosting Files Image Resizing Product Feeds Sitemap Generator View Uncategorized Items
-
Put your code in the post sourcing event. The following snippet seems to work in both normal mode and with the extended cart displayed: function postSourcing (type, name){ if(name != 'entity' && name != 'shipaddress' && name != 'shipaddresslist' && name != 'shipzip') return; if(!nlapiGetFieldValue('shipzip')) return; ... }
-
Well one bit of advice about editing in the NS text areas and rich text editors is "Dont'". It's all too easy to make a mistake and wipe out work for which you have no reference. Instead make a set of files and folders that map your needs and do your editing in proper html and javascript editors. Use a version control…
-
I can see why postSourcing() may be cleaner, however, on some occasions when the customer edits the pre-selected address, the shipzip doesn't change. Good catch. In that case you'd want the script to run on either field changed (for shipZip only) or post sourcing for the other fields
-
I believe this occurs when you don't have a them template for the content area. Go to Setup |Web Site |Themes Open your current theme Click the Body tab look at the Content Area Template. Is it blank? If so paste in something like: <td height="100%" width="99%" valign="top"><table height="100%" width="100%"…
-
Hi All, When a customer changes their shipping address, on fieldChanged() I would like to get their new zip/postal code ... Does anybody know of a way around this please? Just use nlapiGetFieldValue('shipzip') all the fields of the sales order are available to you your SCO script. HTH
-
You can also just create another tag with the same name convention and call it in the 1st tag. It works well and you keep all you tags in the actual tag section. This is what John's tip was trying to avoid. Generally it's not too big a deal to re-format your tags into 4k chunks however sometimes it's quite a pain both in…
-
You can get most of the way there fairly easily. 1. For each customer that has a list of custom items create a category that is active but doesn't have "display in website" checked. Make the customer the audience for that category. 2. Add the customer's items to that category 3 When the customer logs in they will be able…
-
Actually a cleaner solution is to create a custom record with just a name and a long text field. You don't "pollute" your item list with pseudo items and you can treat these custom records like web tags of unlimited length. e.g. <%=getRecordAttribute('xxxx', 'yyyy', 'custrecord_tag_text')%> As a plus these can be used for…
-
If you have the advanced site customization feature enabled you can go to Web Site | Themes and select your current theme. then go to the Tabs and Buttons tab and edit the "Add to Cart " template. HTH