Skip to content

How to change swatch image

How to change the image of swatches for disabled options. By default, Magento put a vertical red line if the option is not available for all options. I want to change the image to my custom image.

Object Object Error

I am facing this error [object Object] frequently on the iPhone at the Checkout, on the Homepage, and Add to Cart . I can’t reproduce till now, can anybody guide me on how can I can reproduce and fix it?

Child block is not loaded when the main block is called in a CMS page

I made a custom module block with the following layout: <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” layout=”1column” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head> <title>Form Partner</title> </head> <body> <referenceContainer name=”content”> <block class=”MyvendornameMymodulenameBlockCaptchaForm” name=”contactForm” template=”Myvendorname_Mymodulename::captchaform.phtml”> <container name=”form.additional.info” as=”form.additional.info” label=”Form Additional Info”> <block class=”MagentoCaptchaBlockCaptcha” name=”captcha” after=”-” cacheable=”false”> <action method=”setFormId”> <argument name=”formId”… Read More »Child block is not loaded when the main block is called in a CMS page