All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

Magento 2.3.x and mod_security

I have a Magento 2 site hosted on a VPS with Plesk. A few days ago both frontend and backend showed error 404. After taking the time to understand the problem, without success, I contacted my hosting ...
2 votes
1 answer
2k views

Translations not working, Magento_Checkout

I'm facing the problems with Finnish translations (Magento ver. 2.1.7). The main pages are translated but all the Magento_Checkout translations are in English. It seems that this is bug in the ...
1 vote
1 answer
2k views

Magento 2: Submitted Form not calling Controller

To continue with the question below Magento 2: How to define Scope For Router.php app\code\Custom\Module\view\frontend\templates\posts\view.phtml <form class="form post reply" action="<?...
0 votes
1 answer
31 views
+50

Magento 2 - How to extend a custom theme which uses less variables?

I have a custom theme for our onlineshop named "Company Fresh" which extends Magento/luma. I created another theme which I named "Company Fresh Green". It is based on "Company ...
3 votes
4 answers
4k views

Cart rule free shipping on subtotal after discount magento 2

I am working on Magento 2.2.5. I have one cart rule that gives free shipping if the subtotal is equal to or greater then $50. It is working well, but if the user gets any discount from a coupon or ...
6 votes
1 answer
2k views

Magento 2.2.1 Checkout page broken and Js fail to load error

I have installed Magento 2.2.1 and set up my custom theme but checkout page looks broken and consoles showing errors: Not sure how to resolve this issue. Need help how can this be resolved. How ...
2 votes
3 answers
6k views

Free shipping with the shopping cart rule, on X subtotal AFTER discount

We offer Free Shipping over X (NOK 1000)amount, but the shopping cart rule doesn't allow me to set the amount to be the subtotal amount AFTER given discounts. If customer shops with for instance a ...
0 votes
1 answer
3 views

List of All Magento 2 Configuration Files

Magento 2 uses XML-based configuration files A LOT. When studying Magento or preparing for an exam, it is useful to have a list of all config files used in Magento 2. How can such a list be generated? ...
3 votes
1 answer
3k views

Magento 2 : Terms and Condition validation not working on checkout page

I moved terms and condition functionality in checkout order summary block. But, There are no any validation working before click on place order button. I also added agreement validation code in my ...
2 votes
1 answer
9k views

Magento 2.2 Fatal error: Uncaught ReflectionException: error

i created a new module, after runing this command php bin/magento module:enable myFirstModule i am getting this error. Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\...
3 votes
1 answer
381 views

Magento 2 Catalog Rule Condtions

I am trying to implement Magento 2 catalog rule condtions in a custom module Ui Component form. Below is the field set: <htmlContent name="block_promo_catalog_edit_tab_conditions" sortOrder="20"&...
1 vote
1 answer
1k views

Magento 2 catalog category link widget is not working

I wanted to insert catalog category in my content, however, it keeps showing a broken image whenever I try to use it. I have also tried manually coding it. Does anyone know the fix for this?
0 votes
0 answers
9 views

Magento 2 variables

Google team share with me a script for tracking and they asked me to put magento 2 variables. I've searched about and this is the script after update but I think it's not correct. <script> ...
0 votes
2 answers
12 views

Onepage success page source

I'm trying to add some google tracking scripts to onepage success. But I'm facing a problem in this page.. the url is : checkout/onepage/success/ but when I click on view page source in my browser it'...
0 votes
0 answers
5 views

magento 2.4.1 Sort by product name not working as expected

I've some of products, Which names start with word "adidas" and some of products "Adidas" . Like, adidas Tiro 13 Short, adidas Techfit Bra, Adidas Techfit Bra12 etc. I've set ...
0 votes
0 answers
3 views

How to import Fixed product taxes in bulk?

I tried to import FPT for all my products with an additional column to my CSV import : wee_tax_variations and lines like : name=ecotax,country=FR,state=0,value=1.45,website_id=0 (My attribute name for ...
1 vote
1 answer
3k views

Magento 2.3.1 : No such entity with customerId = Backend Login as Customer Logs page

My English is not perfect sorry. I am using Magento 2.3.1 and I saw this issue. Admin > Reports > Customers > Login as Customer Logs Login as Customer Logs No such entity with customerId = 1 I added ...
4 votes
2 answers
1k views

How to sort by popularity in magento 2 product list?

I want to sort products by popularity and discount(high to low). How can I achieve?
0 votes
0 answers
5 views

Exclusionary Cart Price Rule - Magento 2

I am trying to set up a exclusionary shopping cart price rule in Magento 2 using a coupon code. e.g. Apply a 10% discount to all products on the store with X coupon code, but NOT to the following ...
0 votes
0 answers
4 views

Link from cart item to product page

When you add a product to your cart, it's showing on your minicart. When you click on that item it's bringing back to the product page. I'm looking to find how this link is made...looks like there is ...
1 vote
3 answers
6k views

Removing a product from a category or setting the product categories programatically - Magento 2

I am trying to programatically remove a product from a category but it isn't working. I have tried: Using $product->setCategoryIds($categoryIds); and then saving with $productRepository->save(...
0 votes
2 answers
672 views

Call to undefined method Magento\Eav\Api\Data\AttributeExtension::setIsPagebuilderEnabled()

I'm using Mad-IT GitHub Actions to build a magento 2.4.3 store. When it does the magento install step, I'm getting Call to undefined method Magento\Eav\Api\Data\AttributeExtension::...
0 votes
1 answer
13 views

What is webapi "self" resource in magento 2

I understand the difference between anonymous and token authentication but can't really understand what is "self" resource and how is it used. Thank's)
0 votes
1 answer
5 views

Moving domain to Shopify, but still need access to Magento store

I am moving my domain to a Shopify store. But I still need access to the Magento Backend to see orders and so on. How do i do that I Magento? Have tried to just move It to Shopify, but then the: www....
0 votes
1 answer
2k views

Magento - How to restrict customer can buy only one product for specific category

I am trying to add free product for specific category, Customer can add only one free product in the cart for specific category. I tried to add shopping cart price rule as Condition: If total ...
0 votes
0 answers
8 views

display text below shipping method

please help me, I'm new here. how to display a text says "the shipping is free for this week" in check out page below shipping method in a weeklyshipping.phtml file I created.
0 votes
0 answers
6 views

Magento2 MIgrate Product Reviews from Enterpise to Community

How can we migrate product reviews from Magento2 MIgrate Product Reviews from Enterpise to Community without using any paid extension?
1 vote
1 answer
12 views

Magento 2 - Can't compile new theme Theme inheriting from luma

I created a new minimalistic theme in a fresh Magento 2.4.2 The theme inherits from Magento/luma Example: app/design/frontend/company/foo/registration.php: <?php /** * Copyright © Magento, Inc. ...
1 vote
1 answer
1k views

Currency symbol is not shown for different locale

I am using two different stores for two languages. First store for english and other for arabic language. I am using Saudi Riyal (SAR) as a default currency. In Admin Panel > System > Configuration > ...
0 votes
0 answers
10 views

How to Get Product Attribute Using Event

I am tired, please help me, How to Get Attribute Value Using Event thanks
0 votes
0 answers
4 views

Magento 1.9 - Remove TAX if customer set a VAT

i need to remove taxes for customers that set a VAT. I created a module in app/etc/modules/Easylife_Meta.xml <?xml version="1.0"?> <config> <modules> <...
5 votes
1 answer
1k views

How to get final price of a product by rest API?

I mean the final price that Magento calculated and inserted in catalog_product_index_price table. It may have applied special price/catalog price rule/tier price, which price is displayed to customer ...
0 votes
0 answers
6 views

How to include out of stock option price to bundle product price?

Whenever a required bundle option becomes out of stock, the parent product is out of stock and that particular child product amount gets deducted from the bundle product amount. I don't want to deduct ...
0 votes
0 answers
7 views

Error in LESS file

I am getting this error while running the deploy command. What is the issue? Please help me. My code is .fieldset { .field { &:not(.choice) { ...
0 votes
0 answers
6 views

Attribute with Image to show next to title

I have created an attribute and when clicked on, I need it to show this image next to the product title on the front end. https://www.ukmadesweets.co.uk/pub/media/logo/stores/1/icon-echo.svg Could ...
1 vote
3 answers
3k views

Magento 2 Why my admin route always redirect to the Dashboard?

I have a custom module with a backend menu item, when i click on the link it always redirect me to the admin home page. These are my files: app/code/Cosmo/Basemodule/Controller/Adminhtml/Base/Index....
4 votes
6 answers
12k views

Why there are commands missing in bin/magento?

I need to set the application mode to developer, but when I tried doing so I got the exception [InvalidArgumentException] There are no commands defined in the "deploy:mode" namespace. Running bin/...
0 votes
0 answers
2 views

Magento 2.4.3 Configurable Disappears From Catalog when simple count exceeds 325

One for the Gurus! I have a configurable with 3 Attributes: Product type, Colour and Height. When I exceed 325 simple products within the configurable the product will disappear from the category it ...
0 votes
0 answers
5 views

Log flood: can't have a child because "category.product.type.details.renderers" already has a child with alias "default"

I get a flood in my logs that says: The element "category.product.type.details.renderers" can't have a child because "category.product.type.details.renderers" already has a child ...
0 votes
1 answer
1k views

Magefan blog - images not showing after update

I have updated the magefan extension and the images stop showing on blog lists page. When I click on the read more button and go to the post, the image is there, but the small thumbnail image in blog ...
0 votes
0 answers
4 views

Magento 2.4.3-p2 custom payment gateway order_status is not working

I am developing a custom online payment gateway module. I have successfully redirect users to 3rd party payment gateway and redirected back. The issue is about the order_status. In every tutorial I ...
0 votes
0 answers
9 views

Magento 2 How to make Fulltext filter like this

Please help out to make a search (Fulltext Filter) bar like this
0 votes
0 answers
11 views

Magento2 checkout page gets broken if logged in?

I'm in Magento2, and I've build up a new theme for the checkout. I've added a new step: In app/code/Checkout/NewStep/etc/module.xml <?xml version="1.0"?> <config xmlns:xsi="...
2 votes
1 answer
1k views

Getting a PHP Fatal Error: Uncaught Error: Class 'Zend_Cache' not found

Something went wrong when I was using the Component Manager to install a module, and now I cannot see my front or back ends. When I try to do anything through the CLI I get this message: PHP Fatal ...
0 votes
1 answer
6 views

Whats is major impact when implements redis cache and varnish cache on Magento 2?

I am finding out some of below question regrading cache. What is radis cache and varnish cache? Why we need to implement in Magento 2? What major impact we are show in Magento 2 website? Thank you.
1 vote
6 answers
2k views

I want to translate "Buy" and "save" word in tier_price.phtml file. magento 2

I want to translate "Buy" and "Save" word in tier_price.phtml file.I have added the word in translation csv file but it is not working form me. Refer screenshot PATH : vendor/magento/module-...
0 votes
0 answers
8 views

swatch color no show all computer on frontend?

swatch color no show all computer on frontend? Example. User A show, User B,C,D,E not show
0 votes
1 answer
24 views

How to install modules get from vendor folder

i have modules directly from vendor folder and full file with contains name and versions this modules in composer.json When I upload only modules to vendor, and after upgrade then no result (looks ...
0 votes
3 answers
127 views

How can I access data of Laminas\Stdlib\Parameters Object in in Magento 2?

I want to access Laminas\Stdlib\Parameters Object data in that I can access video_url data in magento2. How can I access that object data ? $product = $this->getRequest()->getFiles(); print_r($...
0 votes
1 answer
10 views

how to set the weekday in order email template magento 2.4

how to set the weekday Monday, Tuesday, Wednesday, Thursday etc in created_at_formatted in order email example: Placed on 23.06.2022, 12:00:19 to set Placed on: Friday, 24.06.2022 {{trans 'Placed on ...

15 30 50 per page
1
2 3 4 5
2201