New answers tagged

0

Check if you have some other invalid variable in the same .less file, inside that media query.


0

You need to go through the official documents of the Magento or you should ask relevant questions about what you are actually facing. Hope you understand.


0

is the official documentation not enough https://devdocs.magento.com/#/individual-contributors ?


0

Try to add tax.js into require of minicart.js, Magento_Checkout/js/model/total and Magento_Checkout/js/model/quote // minicart.js define([ 'uiComponent', 'Magento_Customer/js/customer-data', 'Magento_Checkout/js/model/totals', 'Magento_Checkout/js/model/quote', 'jquery', 'ko', 'underscore', 'sidebar', 'mage/translate', ...


0

I can give you some ideal for this problem. You can try looking into class \Magento\Framework\App\Route\Config at file vendor/magento/framework/App/Route/Config.php the function _getRoutes of Magento2 will return list of route's info as below. (You may have to extend a new class from this because the scope of function is protected ) Based on current ...


0

There is a tool available to generate module CRUD boilerplate. Github Link to download module creator for magento2 Clone this tool in your webroot directory or just download and extract and run in your browser it will give you GUI to generate module. Also there is some online websites to do the same. Website1 Website2


1

Repository Model Repositories give service requestors the ability to perform create, read, update, and delete (CRUD) operations on entities or a list of entities. A repository is an example of a service contract, and its implementation is part of the domain layer. Service Contracts Service contracts are agreements between two parties, a service provider ...


0

Explanation This is expected behaviour in JS because the context of this has changed. When you declare a function as part of an object the context of this switches to be the object itself, this example I've just created in the console should explain: First of all I log this which is the Window object. Then I create an object that contains a function ...


0

I think you have done right but just forgot to clear everything in generated/code folder. It is the place where the new dependency injection is generated and located. Just try and enjoy.


0

try below code File: etc/frontend/routes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <router id="standard"> <route id="micuenta" frontName="micuenta"> <module name="MyVendor_Intranet" /> ...


0

Also you can try cache_lifetime="1" in your block, where widget is called. Something like below, {{widget type="Magento\Catalog\Block\Product\Widget\NewWidget" cache_lifetime="1" display_type="all_products" products_count="8" template="Magento_Catalog::product/widget/new/content/new_grid.phtml"}}


1

I would create a static block with your code and then call the static block via /app/design/frontend/Vendor/theme/Magento_Theme/layout/default.xml <block class="Magento\Cms\Block\Block" name="godaddy.seal" before="-"> <arguments> <argument name="block_id" xsi:type="string">block_code_name</argument> </arguments> ...


1

I am only for you suggest. may be help you Magento 2 jquery or javascript not add in cms block SO you create the simple the .phtml file and call the your footer cms block like :- {{block class="Magento\Framework\View\Element\Template" template="Vendor_Module::myfiles/myfile.phtml"}}


0

I solved this issue via JS bundling, cache busting on static files and minifying JS. bin/magento deploy:mode:set production bin/magento cache:enable bin/magento config:set dev/js/enable_js_bundling 1 bin/magento config:set dev/js/minify_files 1 bin/magento config:set dev/static/sign 1 bin/magento config:set dev/js/merge_files 0 bin/magento setup:static-...


0

2-3 Minutes ? I'm almost sure that it can't be from JS files not being cached. What's the TTFB for those JS Files ? https://devdocs.magento.com/guides/v2.3/config-guide/bootstrap/mage-profiler.html Enable Profiler and look for anything that's suspicious.


0

you can use below code to add custom form in contact page create app/code/Vendor/Extension/view/frontend/layout/contact_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body&...


0

The problem was with the hosting server they disable PUT and DELETE Method after enabling these two Method the coupons started working correctly. so my advice if your facing same kindly first contact your hosting and then try to troubleshoot problem it will save your time


0

Please follow the below steps. https://magenticians.com/add-custom-field-in-magento-2-contact-page/


2

Go to Admin->Content->Design->Configuration->Edit Your Theme And remove the Images from Product Image Watermarks Save the settings, Clean cache and Flush Catalog Image cache from Additional Cache Management in System->Cache Management Hope this will work for you.


0

First you goes the this path Stores > Configuration > Sales > Shipping Methods > Enable any one shipping methods You Enable the one shipping methods and you take care enable the shipping method all countries. And other your website is multi store. So select the store view and the and select the your store and enable the shipping method above ...


1

I have check the your web site and see the issues. And i have find the solution. This is not a issue.This simple image image problem Please check screen-short :- Image path open the new tab and see the image. images showing are this type. This image product image and transparent logo is not different. it is same one image.so you can not remove the ...


1

It's just a naming convention so it's easier to know which classes are designed to be extended, they are to be used like this: .your-selector { &:extend(.abs-reset-list all) } Where .abs-reset-list is the selector you want to extend. This is core LESS functionality and isn't really related to Magento other than they prefix their class names with ...


0

You can actually achieve this by adding a cms block with one image, add this code anywhere it is suitable to show in the following file location: /public_html/app/design/frontend/rich/default/template/catalog/product/list.phtml <?php $_product = Mage::getSingleton('catalog/product') ->load($_product->getId()); if ($_product->...


0

please check if the console is returning 404 on your console. If so, then run the deploy correctly for the deploy in the corresponding language. For example: bin/magento setup:static-content:deploy [<languages>] [-t|--theme[="<theme>"]] [--exclude-theme[="<theme>"]] [-l|--language[="<language>"]] [--exclude-language[="<language>...


0

First the backup the you pub/static folder Run the this commands rm -rf var/cache php bin/magento s:up php bin/magento s:s:d -f php bin/magento i:rei php bin/magento c:c php bin/magento c:f And Second Check :- First of all, apply proper permissions, enable apache rewrite_module and refresh apache server. chmod -R 777 /var/www/html/...


Top 50 recent answers are included