My Stuff

Please note that on Friday, September 19, 2025, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.

balaji.bathula Newbie

Comments

  • OrderWizard.Module.Confirmation.js has all the information required (order info and customer info). In the getContext function, use the below. //For Customer Email. var email = this.wizard.profileModel.get('email'); //For Order date, I guess it's the same date. format the date (new Date()) to your locale. //For an…
  • To make it simple (this works in all versions), add Profile.Model as a dependency in the JS file. // @module OrderWizard.Module.Confirmation define( 'OrderWizard.Module.Confirmation' , [ 'SC.Configuration' , 'Profile.Model' , 'Wizard.Module' , 'Tracker' , 'order_wizard_confirmation_module.tpl' , 'Backbone' , 'underscore' ,…
  • Any Third-party library files (dependency files that are required for the script to run successfully) can be loaded in shopping.ssp, with excluding page generator (!SC.isPageGenerator(){}). Actual script (event listeners) can be loaded directly in the HTML (not recommended) with <script> tags OR can be included in the View…
  • That's strange..!! If you check the return object in the getContext(), , isGuestAndCustomerCenter: !!(this.wizard.profileModel.get('isGuest') === 'F' && Configuration.get('siteSettings.touchpoints.customercenter')) We use the same and get the email (This JS file has "Wizard.Module" as a dependency). , email:…
  • Get the email directly in the return object in getContext() email : this.wizard.profileModel.get('email') || '' In the template, <script> window.renderOptIn = function() { window.gapi.load('surveyoptin', function() { window.gapi.surveyoptin.render( { "merchant_id": xxxxxxx, "order_id": "{{orderId}}", "email": "{{email}}",…
  • Adding an event-listener when the "Continue" button is clicked and search for the nearest error by it's class or Id and then scroll the page to that class. Example: when no shipping method is selected, , events: { //custom 'click [data-action="submit-step"]': 'checkErrorCalls' } , checkErrorCalls: function(){ var…
  • SCA: Updated code to delete/clear the cart items with a "Clear Cart" button on Cart page: Add a button in Cart Detailed View template. When the button is clicked, add an event in the Cart.Detailed.View.js to call a function removeAllLines() as shown below. Then add the below code. //Add GlobalViewsConfirmationView as a…
  • Hi Anthony, After looking the code, I assume you are removing the Lines in the Front-end View.js file. But the best approach is to remove the Lines in the LiveOrder.Model (Suitescript) file. Add a model attribute dynamically(in the View file) to identify that user clicked on "Remove Cart items" button. Ex: clearCart:…
  • Hi Anthony, I can help you if I know exactly what you are trying to update. Is it with Custom Record / Cases / Marketing forms / Customer record / Sales Order form ?? Thanks, Balaji
  • Hi Anthony, In your Service.Controller file, do you have something like below, one for GET and one for PUT. If so, did you log the data in "PUT" function as shown below? , get: function() { return ProfileModel.get(); } // @method put The call to Profile.Service.ss with http method 'put' is managed by this function //…
  • Hi Anthony, I have implemented Infinite scrolling in Denali Version. Which ever the version is, the approach is the same. In Facets.Browse.View.js file, you can find two functions getRelPrev() and getRelNext() which gives the links for the previous page and next page. This links are used in pagination. My approach: When…
  • Hi AmPsy, You can't get the Entity fields available to select in the field sets, but make sure you have "Website" checkbox enabled on "Apply To" sub-tab for all entity fields that you wish to display in the webstore (Any where including shopping / Checkout / Myaccount). Once the entity fields have "Website" checkbox…
  • Just a quick update, A new topic on the Home page promotions similar to above(better formatted) is uploaded in Dev Portal . here is the link, https://devsc.publishpath.com/add-a-promotional-drawer-and-notification-icon Thanks, Balaji
  • Hi NReddy, I have tried your query and felt like there are two ways of doing this. If you want to display only banner or some promotion stuff on the homepage popup, you can achieve as follows. 1)Display only static content, no action required by user: Add the new files Home.Promotion.View.js, _home-promotion.scss,…
  • Hi Chris, I think the last option is to look into the Code upgrade between Denali and Vinson regarding the Profile.Model, Sitesettings, Cookies.... Not sure if this helps, but I think it is the only way to understand if we can amend this in the source-code or Netsuite has given it as a default in the backend(Vinson…
  • Hi David, I have worked on Denali version(Dec 2015) and still I can see the same condition in Header.Profile.View.js getContext: function() { var profile = ProfileModel.getInstance() , is_loading = !_.getPathFromObject(Configuration, 'performance.waitForUserProfile', true) && ProfileModel.getPromise().state() !==…
  • Hi We had the same issue when we tried to add list of Commerce Categories via CSV import (from sandbox to production account). I think we have to add manually all the categories until the next upgrade. Thanks, Balaji
  • adhokane Yes, you can upload images in SCA. Ex: Profile Image Upload 1)Front-end - HTML - input field type = "file" name = "profile-image" id= "profile-image" 2)JavaScript - Add an event to convert this file into base64 format (new FileReader()) and set it as a model attribute ex: model.set('image',…
  • Hi AmPsy, You can make customization's to edit a custom field on Customer Record in My account domain as well. For example: Assume you have a custom field as "Customer Preferred Delivery Time" and the id as "custentity_preferred_delivery_time" in Customer Record. In the Profile.Information.Model.js (in Suitescript folder),…
  • Hi AmPsy, You can get Profile.Model instance even in shopping domain. If you want to get a custom field value from a customer record, First create a custom filed and update the Profile.Model.js file in Profile/Suitescript folder. var customerCustomFields = customer.getCustomFieldValues(); Loop through the above results and…
  • Hi Chris, Along with the code customization in the logout.ssp, you need to view the getContext function in Header.Profile.View.js. We have the below code. var profile = ProfileModel.getInstance() , is_loading = !_.getPathFromObject(Configuration, 'performance.waitForUserProfile', true) && ProfileModel.getPromise().state()…
  • Hi Dorath, Are you referring to SCA website??? if yes, this might help... SCA has this feature inbuilt. All we need is to create different price-levels and assign the required price-level to a customer in customer record. When this customer logged-in, the price facet and the item prices will change by default. In the…
  • Hi Jarett, In SCA, we have a module that gets the customer info, Profile module. Using the Profile.Model in item view as a child view and with the help of {{#if customerLoggedin}} item custom field {{/if}} in Handlebars template, you can fix this. Hope this helps, Bal
  • Hi AmPsy, Can you try to use the below googleoff and googleon tags and place the html content in between these tags. I hope this works, if not please let me know. <!--googleoff: index--> <p>any content here will be ignored by google search indexing - SEO </p> <!--googleon: index--> Thanks, Balaji
  • Hi Guys, To fix this, create a js file and upload to file cabinet. Attach this file to custom code sub-tab in Online customer form. In the js file, add the below line. document.getElementById("firstname").placeholder = "First name:"; That should show the placeholder in the firstname field on your form. The above line is…
  • I have recently developed a blog feature within SCA using custom records for one of our customers . I haven't included a search bar to search for blogs by "name, date" etc. But it includes category pages, individual blog pages, latest blogs displayed on the sidebar for each blog page with category links, Social sharing…
  • I had similar issue ("No shipment method available" in checkout) when applying patch to make the website Single Secure Domain. I had to change a few lines of code in LiveOrder.js (Backend Suitescript Model) to make it work. I thought the issue is with the patch released for single secure domain (Vinson version) OR I might…
  • As you mentioned "the Service.ss file wasn't found", one possible reason could be the Demo.ServiceController (Demo.Model in older versions ) file is not updated in distro.json file under the ssp-libraries. I think it's better to double check this and also check for the exact file names(Service file name) called from…
  • Hi Anthony, It seems to be a strange error. If you want to compare your code in ServiceController and Model (Suitescript), I have an example which I did to collect and post customer comments(after placing order) to a custom record. Coding approach might keep changing depending on the requirement, but this can help to some…
  • We do have an SCA Elbrus website (Single secure shopping and checkout) that has the same issue. Netsuite notified this as a defect and is currently under investigation. All other SCA websites (non-secure) don't have this issue. Possible reason(s) could be CDN (Amazon Cloudfront for HTTPS websites) / Elbrus Version. Is your…