we can set the number of categories shown in the left side navigation by default if we set limit as 10 see more button will not appeared.
Author: Radhika R
Proposal For Stripe payment based on subsidiary
Proposal Summary This proposal covers the scope of giving stripe payment based on the subsidiary on the Thermogard website. The page include the changes Checkout Page Requirement We need to give different stripe payment charge for the three domains based on subsidiary. Our Solution We need to add a field ‘stripe payment charge’ in the… Continue reading Proposal For Stripe payment based on subsidiary
custom ssp creation
Below steps are useful for creating a custom SSP application( sca-2021.2.0 version is used here)1.Assure all required features and preferences for a Commerce website were enabled correctly.2.Create a new SSP application folder ,go to Commerce > Hosting >SSP Application > New3.Download the _sources file from the corresponding URL root( Example: ” /sca-dev-2021-2-0 “)4.Extract the zip… Continue reading custom ssp creation
Remove a child view
Removes a child view from a view. This method can remove child views that were added with the addChildView or addChildViews methods, as well as other child views in the parent view. This method accepts up to three arguments. If only one argument is passed, the argument is determined to be placeholder_selector. In this case, view_id is set to the default view… Continue reading Remove a child view
Credit card add/Edit not working on checkout page
Check in the website record. Under shopping tab check whether SAVE CREDIT CARD INFO BY DEFAULT is checked. if it is not checked we cannot add/edit credit card details.
Get all matrix items in pdp page
Gets all the subitems of a matrix item. getAllMatrixChilds returns an array of objects. Each object in the array is a subitem of the matrix item. The following example shows how to use the method and what a simplified version of an object in the array might look like.
How to get getStockInfo() in pdp page
Gets information about the inventory of the item, such as whether the item is in stock, the quantity in stock, and the in-stock and out-of-stock messages. If the item is an inventory item, it returns the available quantity of the item. If the item is a matrix item and subitems are filtered (with getSelectedMatrixChilds()), it… Continue reading How to get getStockInfo() in pdp page
_each function in javascript
We can use _each and avoid for looop.We will get each array element and we can use these values as desired.
Add sort by category in wishlist page
Extend ‘ProductList.Details.View’ and sortOptions and set value and name in sort optionsortOptions: _.extend(ProductListDetailsView.prototype.sortOptions,[{value: ‘category’,name: Utils.translate(‘Sort by category’)}, ]} Extend ‘ProductList.Item.Search’ search function and add the below code in that function.if (sort_column === ‘category’) {sort_column = ‘sort’;}} Also update searchHelper function Add the sort option in productListItemColumns. ‘custrecord_thr_sort’ is a custom field in productlist and based… Continue reading Add sort by category in wishlist page
Proposal For Add Payment Link To Invoice
Proposal Summary This proposal covers the scope of adding Payment Link to Invoice in Second Source Rx website. Requirement Requirement is to Enable the Feature ‘Payment Link’ to Invoice. So, a customer can make payment from the invoice. Our Solution Enable the ‘PAYMENT LINK’ feature Go to Setup->Enable feature Transactions ->Payment Processing We will… Continue reading Proposal For Add Payment Link To Invoice