<div class="free-sample" id="free-sample-component" data-bind="scope:'free_Sample_Component'"> <button id="get-free-sample" data-bind="click:getFreeSample">Get Free Sample</button> </div> Above work in fine when click on free sample button but i want to use onload event. when page loaded then ‘getFreeSample’ should trigger.
Magento
I think normal, Magento doesn’t change the file log every day like this. https://prnt.sc/Fu2U8hDurkAs Does anyone have experience with it? Thank you so much!
Onclick Category Link , We have to display all Products ( Only if the Product attribute [ Ready to Ship ] value is “YES”. ) We don’t want to display Products in that url when the Product attribute value is No. We are using PWA Magento 2.4.5 Venia Theme. attribute […]
Basically I want to make magento default store credit(Magento_CustomerBalance) to be enable/disable at website level scope(by default its global level) I have overirded & made changes in certain files which then, it works well on store front for website level, but on magneto admin it does not work as expected […]
jQuery('input[name^="ko_unique_"]').trigger("change"); jQuery('input[name^="ko_unique_"]').change(function() { var v = jQuery(this).val(); console.log(v); if(v == 'simpleshipping_simpleshipping'){ console.log('check'); jQuery('#deliv-hold').show(); } else{ jQuery('#deliv-hold').hide(); } }); The above-mentioned code is working fine on the console but when it is used in js. it does not execute after the second line.
Currently the template is defined like this: Company/PdfDesign/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="CompanyPdfDesignModelCompanyDesign"> <arguments> <argument name="templateFiles" xsi:type="array"> <item name="extras" xsi:type="string">Company_PdfDesign::pdf/table/extras.phtml</item> </argument> </arguments> </type> </config> However, I want to make this dynamic and load it from the settings, so I tried to use a helper like seen here: Company/PdfDesign/etc/di.xml […]
my website homepage is accessible with index.php and theme ID which is as below https://baseurl/index.php https://baseurl/porto_home_26 how do I fix this issue?
Facing a persistent issue on my Magento store where customers encounter errors during the checkout process. Has anyone experienced this and found a reliable solution to ensure smooth transactions? https://magento.stackexchange.com/ Netsworths
I have a doubt, in my filters I need that, when clicking on a color, for example BLUE, it opens the variations of BLUE below (Navy Blue, Dark Blue..) I thought about making 2 attributes, one as master color, and another as a secondary color, however, I can’t figure out […]