Requirement is to show available quantity in the quickview popup Javascript entry point file
Tag: sca
To set preferences for email messages sent from your website:
Go to Commerce > Websites > Web Site List. Click Edit next to the website you want to modify. Click the Email subtab. (Optional) In the Default Web Store Email From field, enter the email address to show in the From field when email notification messages are sent to website customers. Ensure that you have set up a DKIM key for the… Continue reading To set preferences for email messages sent from your website:
Proposal For Show The Quantity of Product that is in stock
This proposal covers both the functional and UI development to Show The Quantity of Product that is in stock for the SCA webstore for Second Source Rx-USA-NS. Requirement We have decided that we would like to show the quantity of product that is in stock Our Solution We will extend the corresponding view using Extension… Continue reading Proposal For Show The Quantity of Product that is in stock
Adding condition in Email template
We have met a scenario where we need to take the difference between two field and convert that answer in to 2 decimal points Here the two field are ‘transaction.shippingcost’ and ‘transaction.custbody_srtipesubtotal’. So taking the difference between these fields and assigning that two a variable ‘shippingcostvalue’ .Then checking whether the variable ‘shippingcostvalue’ has content. If… Continue reading Adding condition in Email template
Add link in Advanced PDF template
Show a link in advanced pdf if the field has value. Sample code is adding below. <#if record.custbody_jj_stripepaymentlink?has_content>click here</#if> so, it will check ‘record.custbody_jj_stripepaymentlink’ field has value or not. If there is value, then it will show the field in the template.
Solution for minicart issue in the home page
Recently we faced an issue that the cart in the home page is not working. Deactivated all the extensions and used base theme but still the issue was there. The issue was due to SMT. In SMT, for the botostarpa and all, we used external link. Due to the external link the cart was not… Continue reading Solution for minicart issue in the home page
Show category based on domain
If category needs to show based on domain, then we can achieve it by using extension in SCA. Create a field in the commerce category to select the domains. And by using saved search get the categories belong to the given domain. Then extend the Categories’ in ‘suitescript’ to show the result categories in the… Continue reading Show category based on domain
Proposal For Display Linked Accounts In Website
Proposal Summary This proposal covers the scope of making, Display Linked Accounts in Website in the Second Source website domains Requirement The Linked Accounts should show up on the Website like they do in Customer Center. Our Solution We have analysed the requirement and we don’t have any default features to achieve the solution. The… Continue reading Proposal For Display Linked Accounts In Website
addToViewContextDefinition
addToViewContextDefinition( view_id, property_name, type, callback ) Adds a property to the context data of a view. The property can then be referenced in templates. If the property already exists in the context data of the view, it is updated. For example, if a view has a property called ‘thumbnail’ and you pass ‘thumbnail’ in the property_name argument, then the return… Continue reading addToViewContextDefinition
Back order issue for instock items
Recently a client reported an issue that When an instock items ordered through webstore, the order has placed as backorder quantity item. solution: Check if a location is entered on the Sales Order. If not, then a location must be assigned to the Sales Order so that the system will know where to source the… Continue reading Back order issue for instock items