How to add a html button inside the top menu
I am new in magento. How can I add an html button on that location?
I am new in magento. How can I add an html button on that location?
I Want to create two dropdown product attributes. Depending on the first dropdown send dropdown option will be display in product admin edit page.(not need it in frontend) e.g : ABC attribute (options 1,2,3,4,5) now EFG attribute (option will be… Read More »How to create two dependent dropdown product attribute in magento 2
my phtml file <div class=”home-del-days-main-cont”> <div class=”hof-changeoutletcontent”> <div class=”h-find-de-day”> <h2><?php echo __(“Enter your postcode to find delivery days “);?></h2> <div> <p style=”text-align: center;”><?php // echo __(“Please enter a delivery postcode to see delivery days.”);?></p> </div> </div> </div> <div> <div class=”h-news-frm”>… Read More »How to use external js for the phtml files in magento 2
I am trying to add a <span> tag inside a trans directive but, it is not working for me. Below is what I am trying: <h1 class=”section-heading order-number-heading”>{{trans ‘Your Invoice <span class=”number”>#%invoice_id</span> for Order <span class=”number”>#%order_id</span>’ invoice_id=$invoice.increment_id order_id=$order.increment_id}}</h1> The output… Read More »How to ad html tag inside trans directive in magento2
How to make drop down required if not selected echo a message that says, “please select one option”. i have attached screenshot to explain further the question i’m asking.
I don’t use MSI and i want so that swatches that are not available are hidden on the configurable product. How can this be done?
define([ ‘jquery’, ‘uiComponent’, ‘Magento_Customer/js/customer-data’, ‘domReady’ ], function ($, Component, customerData) { ‘use strict’; return Component.extend({ /** @inheritdoc */ initialize: function () { var _this = this; this._super(); this.wishlist = customerData.get(‘wishlist’); console.log(this.wishlist); this.wishlist.subscribe(function(newValue) { _this.decorateItems(); }); _this.decorateItems(); }, decorateItems: function() {… Read More »Wishlist item Always Return 3 items
In my master.html for a custom pagebuilder component, the “data” binding is not available. I always get an error that it’s undefined in frontend. But it’s working fine in preview.html preview.html (this is working) <div class=”pagebuilder-content-type pagebuilder-ls-teaser” event=”{ mouseover: onMouseOver,… Read More »Pagebuilder – knockout master.html rendered wrong on custom component
I have getting error Invalid address id at add to cart , issue with only migration customer Any solution to resolve this issue https://prnt.sc/7zG0P0KEeHRW
I have created a custom page using route and controller.I have some image paths then how can i create slider for using these images