All Questions
118 questions
0
votes
0
answers
48
views
Call to a member function isSaleable error
After I updated my Magento I got this error and it caused some issues like Add to cart etc.
An error message is:
#130 {main} {"exception":"[object] (Error(code: 0): Call to a member ...
0
votes
1
answer
537
views
what does $this->_coreRegistry->registry('current_category') return in magento 2?
what does $this->_coreRegistry->registry('current_category') return in magento 2 ?
0
votes
1
answer
687
views
Using a data patch to add the block into cms page
my task sounds like : "Using a data patch to add the block into cms page"
i have
data patch cms block
class CmcBlock implements DataPatchInterface
{
const CMC_BLOCK = 'first_cmc_block';...
1
vote
1
answer
43
views
Getting and Error
I'm installing SEO Suite Installation via Composer but during installation I'm getting an error. Can anyone help me for the solution of this. Screenshot of error is attached.
1
vote
3
answers
6k
views
Deprecated Functionality: Optional parameter $data declared
We're in the process of upgrading our store from Magento 2.4.2 to 2.4.4 and encountered the error shown in the image below. Please help us fix this issue.
Script in the project folder:
<?php
...
0
votes
2
answers
30
views
Can not add2cart grouped product when 1 input field is diabled
I need to disable the input field when customergroup = 0 or 1 and quantity is < 0 but when I add the argument 'disabled' to the input, the add2cart button does not put the other available items in ...
0
votes
0
answers
69
views
Magento 2.3.5: Creating a custom category bottom toolbar
I'm trying to create a custom category bottom toolbar without the h1 title.
I've done the following.
Created a module with the following structure
/app/code/Vendor/ToolbarBottom
/app/code/Vendor/...
1
vote
1
answer
915
views
Magento 2.4 - PayPal Smart Button Style
I want to change the button style of the PayPal Express Checkout, but is not work, I have create a module to rewrite the PayPal but how I can add my changes there?
I create di.xml file on following ...
0
votes
1
answer
108
views
Magento 2 - How I can rewrite this file
I want to change the following file: vendor/magento/module-paypal/Model/SmartButtonConfig.php but if I made the modifications directly in the vendor file when I will upgrade my store this ...
0
votes
1
answer
155
views
custom module stop working after Magento 2.4.3 upgrade
I have a module that extend the functionality of other module, in fact it display the product name and product price as a variable, after I upgrade the Magento to 2.4.3 this module stop working and I ...
0
votes
2
answers
533
views
Change order status for custom module
I want to use one offline payment method module, I install this module
is there any way to change the status of the order to be Processing instead of Pending? Right now all my orders have status ...
0
votes
1
answer
57
views
Can't access Magento 2.2.1 admin,
Can't access Magento 2.2.1 admin, Stores > Configuration, anyone have this error before? How I can fix this.
Thank you
1 exception(s):
Exception #0 (Exception): Notice: Undefined offset: 2 in /home/...
1
vote
5
answers
2k
views
How to check installed extensions on database magento 2
I need to check installed module on database table
I hope your help
Thanks
Thomas
0
votes
1
answer
469
views
Magento 2 - How I can get category for related products
How I can get categories for related products like in the following image:
I use this code:
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$category = $objectManager->get('...
1
vote
1
answer
196
views
How to know if my Magento 2 is in developer mode via PHP?
I'm using Magento 2.4 to develop a new module and I need to check if the store is running in developer mode or production mode.
How could I get the Magento Mode via PHP?