All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Magento, invalid model/method definition for start working cron

I want to start work my cron job, but i have error Mage_Core_Exception' with message 'Invalid model/method definition, expecting "model/class::method", got "DaniilKrok_Backorder_Model_Observer::...
1
vote
1answer
21 views

Magento2 - show/notify customer when they reach x in the cart to spend x more to get free item or discount

Basically I am looking If there is something out there or anyone has used anything or suggestions for when in a cart price rule where the rules is E.G: spend $100 and get Y for FREE. So It's ...
1
vote
1answer
35 views

Dependent Custom option in Magento-2

How to create Custom option programatically in which both are drop-down and they are dependent on each other . Dependent in the sense , changing value of second drop-down option based on the value of ...
0
votes
2answers
24 views

Magento 1.9- Order not placed using SagePay

I am getting an error while try to place order using Sagepay payment method. When I click Order Place button, an alert message is showing. Like: Can't load serializer adapter "Phpserialize".
-2
votes
0answers
13 views

how to hide custom tab on product detail page base on category of product in magento 2.3.3

how to hide custom tab on the product detail page base on the category of product in Magento 2.3.3. here is the code Lava Calculator ...
0
votes
0answers
14 views

Magento 2 order limit in sequence_order_1 table

I had faced a problem with order limit in magento 2. If click Place Order button magento autoincrements sequence_value in sequence_order_1(by default) table. And this table has max_value and if ...
0
votes
1answer
21 views

Magento 2: Disable search by SKU storefront

I would like disable the storefront search by SKU. I changed but it still shows results by sku. Any idea?
1
vote
0answers
23 views

Hide tab on product page on certain condition in magento 2.3.3

I am trying to use ifconfig to hide a tab but it is not working properly below is my code please check <?php namespace Afg\Hidetab\Block; class hidetab extends \Magento\Framework\View\Element\...
0
votes
0answers
16 views

More then one Configurable products need to be dispayed in PDP

If I want to have more then one configurable product to be displayed in PDP with all the Swatches options with a single 'add to cart' button at bottom of the page, what kind of approach should I go ...
0
votes
2answers
48 views

I want to migrate Magento 1.7.x to magento 2.x

Can anyone suggest a proper process to achieve migration of magento 1.7 to 2.x? There is reference but all scattered, since many things are needed to considered and major concern includes data ...
0
votes
0answers
17 views

Warning: Illegal string offset '__disableTmpl'

When I try to run an import job in Magento 2 I get this weird error and I can't find a solution anywhere else. We are importing with Firebear Improved Import/Export v.3.1.6. When I press "Edit & ...
0
votes
1answer
37 views

How to disable sku from dashboard ? Magento 2

I need to disable Sku from the dashboard and not from the code, is this possible?
0
votes
0answers
21 views

How do i get my products to appear in a random order on the category page?

At the minute, my products are showing in alphabetical order from the part number. When clicking on a category, I would like this to show in completely random order. Can anybody help with this? This ...
0
votes
2answers
30 views

magento redirect to custom url after login

i there any way i can add reffer like, so user can be redirected to that url after login, something like below http://example.com/customer/account/login?u=product-page-url i have already set below ...
2
votes
1answer
50 views

Magento 2 - Understanding text/x-magento-init

I try to better understand the concept of text/x-magento-init. I understand that it allows us to define script components that do a certain task, which we then can use as often as we like in any ...
0
votes
0answers
8 views

unnecessary api calls to external site disadvantages

I worked in a website before 3 years at that time I wrote a code to update 2 fields in database. I got the value of fields from an external api. I had to pass company_id for that api to get the ...
0
votes
0answers
23 views

Remove tabs from M2 mobile menu

I want to remove the mobile menu tabs "Account" and "Settings" and have these items directly under the catalog links, how to proceed? from this: to this:
0
votes
0answers
19 views

Add to chart not working says error in Add.php file as shown in the picture

This is where the error is on $params =$this->get request()->getParams();
1
vote
0answers
29 views

site is taking too much time to load

My site is very slow.While using ced commerce modules it die.Almost it takes 40 sec to load to open home page and other also.Without it it takes near about 12 sec.I am using lazy loading also.As well ...
0
votes
0answers
20 views

Magento - Add Flag Icon CSS

I want to use those flag icons in order to show them in header.phtml in my Magento project depending on the current language. This is the link of the project on Github https://github.com/lipis/flag-...
1
vote
0answers
32 views

magento 2.3 use core tables to custom module grid

I have a custom module with a custom table and I've created a ui component grid to show its data in Magento backend. This works fine. Now I need a second admin grid were to show a collection of order ...
0
votes
6answers
60 views

how to empty .log file in magento 2?

how to empty .log file in Magento 2 from Terminal ? system.log exceptional.log debug.log
0
votes
0answers
22 views

What to consider before installing a new theme? [closed]

I'm considering installing a new theme for our site. I'm a bit worried about what could go wrong and how much work might be required after the install to have all content in the right place. Anyone ...
0
votes
2answers
14 views

How to get only list of products that are selected inside the bundle product in magento2

How to get only list of products that are selected inside the bundle product in magento2 when we create a bundle product we can selects some products to attach in bundle products i just want to show ...
0
votes
0answers
30 views

Search Product by SKU programatically using search criteria

I need to search product programatically using search_criteria public function search($storeId, $searchTerm, $searchOrder, $searchDir, $page, $pageSize, &$totalSearchResults, &$attrs_applied, ...
0
votes
2answers
32 views

I need only active website stores . Below code give all website

use Magento\Framework\View\Element\Template; use Magento\Store\Model\StoreManagerInterface; class Website extends Template { public function getWebsites() { /* Use getWebsites(true) ...
0
votes
0answers
12 views

Catalog Attribute / Checkout / Payment Step / Field empty

I'm trying to add a product attribute in the quote (payment step), but I can't. What happens: I added the product attribute "preorder" and everything is working OK. At checkout, I modified the html/...
0
votes
1answer
21 views

Error filtering template: Invalid template file in module

I have this issue and I don't know how to solve it. My phtml file is under: app/design/frontend/rwd/josefsteiner/template/home.phtml and i tried to include this phtml file into my CMS site like ...
1
vote
1answer
18 views

Error of layout xml : Element 'update': This element is not expected

I'm upgrading a theme from 2.2.x to .2.3 there are so many xml in this theme have the following directive <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
0answers
20 views

Magento 2 How can I add 2columns-left in container area like the one I have shared

I want to add 2 columns one for the menu and other for the text in container Page.top is the menu container which I have move into a new container Now In that new container page top after banner I ...
1
vote
1answer
20 views

Apply custom function to magento Admin edit form

I have made custom module in admin for add/edit and delete. For a particular field (example email ) in the edit form, I want to show HTML instead of an edit input field. For example, I am saving ...
1
vote
1answer
33 views

Magento 2 Custom cron not working

I am trying to run custom cron but, I got below error in system.log while execute cron:run command. main.WARNING: Could not acquire lock for cron group: default, skipping run [] [] crontab.xml ...
1
vote
0answers
17 views

Magento2: How to add custom section below the order total on the checkout page?

I want to add a custom section below the order total on the checkout page.
1
vote
0answers
14 views

Magneto 2 project on new VPS loading wrong design

I have successfully installed my magneto 2 version 2.3.3 project on my new vps service using Ubuntu with php 7.3.13. But the design seems to have failed to load correctly. It's all over the place. ...
1
vote
0answers
19 views

Magento2 - How to override this file in magento2 Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Options.php [duplicate]

How to override this file in Magento2 Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option
1
vote
3answers
52 views

Magento2 - How to override this file Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Options.php

How to override this file in Magento2 Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Options This code is in my di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
1
vote
0answers
15 views

Magento2.3 - Many Magento core modules are disabled when deploying on test sites

I recently upgraded my site from Magento2.2.3 to 2.3.3. As everyone knows, when upgrading, Inventory module will be disabled, but when I checked, many other modules are disabled, even though I use ...
2
votes
0answers
23 views

How to add a text on Homepage using module (code) [closed]

Need help writing a code for adding text on Homepage. I'm running Magento 2 on localhost
2
votes
0answers
30 views

Magento2.3- Remove vat if vat number is present on checkout

I want to remove vat from checkout on run-time, If vat number field has some value. I am able to validate vat number on run-time on checkout (via this link Programmatically check VAT number is valid ...
1
vote
0answers
13 views

Template notations in magento

I was working with the Algolia search module in Magento 2 and foud something like below in the template files. Can anybody let me know what this notation is called and where can I learn more about ...
2
votes
0answers
27 views

Magento 2.3 - How to call html file instead of exception?

I want to call the HTML file in this function. Currently, it is showing exception but I want custom HTML design to display. Magento/vendor/magento/framework/app/bootstrap.php if ($isOn && ...
2
votes
1answer
31 views

How to restrict specific Region from shipping?

I want to restrict some specific regions from the shipping list due to some requirements, so anyone can help here? Thanks
1
vote
0answers
22 views

Magent2.3: Advanced Seacrh is not working

I have installed the Amasty Advanced search module in Magento 2 cloud and its not working, I'm getting the below error in the log: [app/code/Amasty/Xsearch/Helper/Data.php:144]\n#20 Amasty\...
1
vote
0answers
14 views

Set a custom Transaction ID from an external source

I'm trying to change the Transaction ID straight after the user finishes the checkout process. After the user has clicked submit, I'd like to change the Transaction ID to an ID that I'm retrieving ...
1
vote
0answers
24 views

Limiting the number of drop-down options

I have created an attribute which consists of two option. say A and B and on the front-end, I have another attribute which is a drop-down. Is it possible to limit the number of options in the front-...
1
vote
0answers
27 views

Magento2.3.4 advanced Bundling error

Tracing dependencies for: mage/bootstrap Error: ENOENT: no such file or directory, open 'C:/wamp64/www/Project /pub/static/frontend/Hiddentechies/custom/en_US/mageTranslationDictionary.js' In ...
4
votes
4answers
345 views

Magento2: How to avoid fake registration?

How to avoid fake registration? I have added google ReCaptcha. But getting the same issue. Please help me
1
vote
1answer
13 views

Magento 1.9 - After Export Products, Category few columns values like 000,000,000

After export products, category few columns like 12,223,234,544,348,000,000,000 what is mean 000. How to view what category it is? FYI - few products assigned to more than one category like 6 or 7 ...
0
votes
1answer
53 views

What is Difference Between Configurable Product & Simple Product In Magento?

I Can't find any difference in the product types
1
vote
1answer
22 views

Magento2 - Set value for dropdown type product custom attribute programatically

I have a custom attribute with code 'manufacturer'. Its Catalog Input Type for Store Owner is 'Dropdown'. How can i set the value for this attribute programmatically on product save. I am trying ...

15 30 50 per page