To display an uploaded image in the quick view scenario for a Liquid pixel item, here is the example of code snippet First we have to fetching the uploaded image file from the model’s attributes and storing it in uploadedImage Second we need to add condition,if statement that checks whether the uploadedImage variable is truthy… Continue reading How to display uploaded image in the quick view scenario for liquid pixel item.
Tag: sca
Display recently added item in wishlist by using extension.
Recently added item in wishlist showing as a last added item in wishlist(mylist).
How to add commas for all iterations except the last iteration to an array of objects.
Scenario: We have to create an array of objects, which stores details of each item added to the cart as an object, so the number of the object will equal the number of items in the cart, so we need to put ” , ” symbol in ending of objects but no ” , ”… Continue reading How to add commas for all iterations except the last iteration to an array of objects.
How to Troubleshoot the issue unable to publish changes in SMT.
To resolve the issue of being unable to publish changes in SMT using a specific browser, you can try the following steps: Clear browser cache and cookies:Clearing the cache and cookies in your browser can help eliminate any temporary files or conflicts that may be causing the issue. Refer to your browser’s settings or preferences… Continue reading How to Troubleshoot the issue unable to publish changes in SMT.
Resolve Error: “You have entered an Invalid Field Value x.x”
There are scenarios that which users navigate to Commerce > Websites > Configuration, they encounter an error that they have entered an invalid field value. To resolve this, the field value for numberOfItemsDisplayed must be an integer value instead of a decimal value. Navigate to Customization > Lists, Records, & Fields > Record Types Under the Record Types page, locate the SC Configuration and click on the List In the SC Configuration List page, locate… Continue reading Resolve Error: “You have entered an Invalid Field Value x.x”
How to preserving checkbox state during dynamic navigation
Here is the example to describe the behavior ,When we check a checkbox for the first time and navigate to another section, the checkbox remains unchecked when we return to that previous section. When we first check a checkbox then move to another part, the checkbox is still unchecked when we go back to the… Continue reading How to preserving checkbox state during dynamic navigation
How to implementing Dynamic option value Hiding and Showing for ios devices.
To implement dynamic option value hiding and showing for iOS devices, Given a example, we can follow these steps Give each section and option value a unique class or ID for easy identification. 2. one where we removed the $0 color logo and another where we removed the $90 color logo. 3. Based on the… Continue reading How to implementing Dynamic option value Hiding and Showing for ios devices.
How to display product custom field value in webstore?
I can provide you with a general approach that should work . 1.Access the product information2.Retrieve the custom field value3.Display the custom field value in view file update in tpl file
Credit card payment method not showing in website
If the Credit card payment method is missing in the website payment page. Check whether the payment processing profile is properly configured. Go to setup->accounting->payment processing profiles Select the payment processing profile for the webiste. Make sure website and payment methods were properly added in it.
Remove “You May Also Like” and “Customer Who Bought This Item Also Bought” section in the Product Display Page
To remove Related Items (“You May Also Like”) and Correlated Items (“Customer Who Bought This Item Also Bought”) section in the Product Display Page of the website. In order to remove the Related Items and Correlated Items sections, user may perform the following steps: 1. Navigate to Commerce > Websites > Website List2. Click Edit on the specific website record3. Click Field Sets tab4. Correlated… Continue reading Remove “You May Also Like” and “Customer Who Bought This Item Also Bought” section in the Product Display Page