Get the parent category details using the method getItemInfo() in the entry point file. var item = pdp.getItemInfo(); Fetch the category model in the view file.Pass the url of the parent category to the Category Model and get the thumbnail. this.ParentCategories= item.commercecategory.categories; _.each(this.ParentCategories, function(pc){ pc.url=pc.urls[0]; var categoriesFetch = new CategoriesModel().fetch({ data: { fullurl: pc.urls[0] }… Continue reading Get the thumbnail of parent categories of an item in PDP
Tag: sca
Adding facet field in SCA website
FACET OPTIONS WEBSITE SET UP Set up> suite commerce advanced>set up website> sca reference site example Search index subtab>facet fields Set the facet fields as in the image shown above. Now we need to add the facet field in the facet configuration Set up> suitecommerce advanced> configuration> select domain and website Shopping catalog subtab> facetsConfigure… Continue reading Adding facet field in SCA website
Add a new tab and fields init in configuration record
filename.json
Extend the item key mapping of SCA webstore
Extend the item key mapping file using the configuration as dependency.In this code, the methods “_comparePriceAgainst” and “_comparePriceAgainstFormated” are modified to change the compare price level to be displayed in the webstore.
Proposal For B2B SuiteCommerce Action Items
Jira No: WF-37 Requirements Set up a custom registration form with the following fields required:First NameLast NameCompanyRetail Tax IDAddressEmailPhonePasswordHow did you hear about us?Comments? (not required) Redirect the “Register” link at the top to go to the custom registration form. Reconfigure the login page to include the custom registration form Show the SKU on the… Continue reading Proposal For B2B SuiteCommerce Action Items
Subscribe for email: Checkout as guest
An extension is created in SC standard where a checkbox is displayed and checked by default for email subscription Add the below HTML code to the template and SCA will check the email subscription by default
Implement Search in transaction pages using PO# or memo SCA Extension
An extension is created to search Sales orders based on PO# and quotes based on memo. The transaction column is enabled in SCA configuration. The extension extends list header js, quote list and purchase list. A template is also being overridden
SWAL for SCA Extension
This the AMD module we converted to for using a third party library in SCA extension. This way we we can reduce the load time of a page
Crypto.js as AMD for SCA Extensions
This module helps us to encrypt and decrypt data. This can be used in SCA extension for third party integration
Extend Profile model in SCA
We extend the profile model to sign out and sign in a user when they’re first registering to the website. This is done in order to change the subsidiary to a new one