On file: vendor/magento/magento2-base/lib/web/mage/menu.js I modify the line 463: this.categoryLink = $('') .attr('href', categoryUrl) .text($.mage.__('All %1').replace('%1', category)); By : this.categoryLink = $('') .attr('href', categoryUrl) .text(category); And I launched : php bin/magento setup:upgrade php bin/magento cache:flush php bin/magento setup:static-content:deploy -f php bin/magento indexer:reindex php bin/magento setup:di:compile But that doesn’t change anything, what […]
Magento1
i have delete magento2 installation by directly deleting the directory and database. however i am getting email in every second and the mail content is as below /bin/sh: /home/appleserver2/public_html/magento2/var/log/update.cron.log: No such file or directory how can i stop these emails or how can i delete these cron jobs
I am trying to get the order count on customer grid Grid Code: namespace TestCustomerGridModelPluginResourceModelCustomer; class Grid { public static $table = 'customer_grid_flat'; public static $leftJoinTable = 'sales_order'; public function afterSearch($intercepter, $collection) { if ($collection->getMainTable() === $collection->getConnection()->getTableName(self::$table)) { $readAdapter = $collection->getConnection(); $select = $readAdapter->select() ->from('sales_order_grid') ->where('status!=?', '') ->columns(array( 'orders_total' => […]
I don’t know how to implement this task. I need to add a 5% discount applied in price and display the discount price in product details page. I added to the product in cart it adds only discount price. Could you please help me?
how can we create admin configuration based on product id means options are same but configuration for every product is different is that possible? if someone has any clue please help how can i achieve that
I created a new custom address attribute with input type “dropdown” and filled it with options. When I create a new address and choose one of the dropdown options and go to the payment section my attribute is displayed like this: Why does Magento use the attribute code and not […]
I’m having many clients migrating from Shopify to Magento 2, and the data migration usually happens via ERP, but for some clients, it’s not possible. How could I import to my Magento 2 the Shopify data? Is there a script (bash, PHP, JS, etc…) to do it via API?
I had an order with the details in Russian characters, so I’d like to block the forms to Alphabetic characters only, I thought that it would be native in Magento 2. How could I an user-friendly method to avoid Russian (Persian, etc) characters in my store?
Before the fix, I tried to install the printful module, got through to Step 3 to where you enable the module and paused half way through execution. The front or back-end wasn’t loading and after ages of trying to load it, it gave me this error on my browser: I […]