I am trying to disable “swipe” by adding “swipe: false” in app/design/frontend/vendor/default/Magento_Checkout/templates/cart/item/default.phtml Here is my code, but it is not working, can anyone help? require(['jquery', 'jquery/ui', 'Magento_PageBuilder/js/resource/slick/slick'], function($) { $(document).ready(function() { $(".widget-product-carousel").slick({ swipe: false }); }); }); </script>```
Magento
In magento 2.4.4. backend i have a use case where i have a select that chooses a object type [cms/page, cms/block, catalog/product, catalog/category, etc]. Based on this object type I would like to load a grid ui component for that object type since we have different fields and filters per […]
I’m adding Dynamic Rows in my product edit form like this. data How can I populate the saved custom data in the edit product page with custom DataProvider?
I am trying to add a WYSIWYG editor in Magento 2 while creating a custom module, but I keep getting a full-page editor instead. Here is a snippet of my code $fieldset->addField( 'content', 'editor', ['name' =>'content', 'label'=>__('Content'), 'title'=>__('Content'), 'row'=>'15', 'wysiwyg'=>true, 'required'=>true, 'config'=>$this->_wysiwygConfig=>getConfig() ); However, the result below
0 I’m trying to create custom sorting for the product mutation. Need a product sorting based on product ratings. Once i have override the MagentoCatalogGraphqlSearchAdapterQueryBuilderSort. It throwing a error . I have added the following line to $sorts[] = [ $fieldName => [ 'order' => strtolower($item['direction']), 'unmapped_type' => 'long' ] […]
Magento doesn’t have a Tamil language package in the locale option of the admin panel. How to install a custom ‘Tamil’ language package and use it. Following these steps(image) able to add in the adminpanel, But it’s not translating, How to configure with Tamil lang package? Tried this below link […]
I have the ShipStation extension installed in my Magento store (v2.4.4), and I’m having a problem with the APIs. ShipStation tries to connect at www.mystore.com/index.php/api/auctane, but with with web server rewrites enabled, there is no index.php in the APIs URL. I tried the following: RewriteCond %{REQUEST_URI} ^/index.php/ RewriteRule (.*)index.php/(.*) /$2 […]
I have issue to create custom mysql table from xml schema. i have create app/code/Vendor_Name/Module_Name/etc/db_schema.xml db_schema.xml <?xml version="1.0"?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd"> <table name="test_table" resource="default" engine="innodb" comment="Test blog table"> <column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true" comment="Entity ID"/> <column xsi:type="varchar" name="title" length="70" nullable="false" comment="Title"/> <column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/> […]