Thank you for taking time to read this. I have been trying to upgrade Magento 2.4.3 to 2.4.5 but getting these errors for example Root composer.json requires extprovider/extname ^1.14, found extprovider/extname[1.14.1] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the […]
Magento
Perhaps there is a tutorial on how to add reward points? Please do not offer ready-made extensions, thank you!
Will this go wrong, i am developing a site in a live server (but not yet with DNS pointed at it, so its NOT SSL) I am accesing to the site directly to pub like this http://123.123.123.123/~domain/pub/ with apache mod_userdir after modifing the core config data table with that too. […]
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'; private ModuleDataSetupInterface $moduleDataSetup; private BlockFactory $block; public function __construct( ModuleDataSetupInterface $moduleDataSetup, BlockFactory $blockFactory, ) { $this->moduleDataSetup = $moduleDataSetup; $this->block […]
I want to add a page by the controller, I have set the routes and controller files according to the guideline. However, it still cant show the page. app/code/Mymodule/OrderController/Controller/Page/View.php <?php namespace MymoduleOrderControllerControllerPage; use MagentoSalesModelResourceModelOrderCollectionFactory; use MagentoFrameworkControllerResultJsonFactory; use MagentoFrameworkAppActionContext; class View extends MagentoFrameworkAppActionAction { protected $jsonFactory; protected $collectionFactory; public function __construct( […]
I have tried getting shipping address with both MagentoCheckoutModelSession and MagentoCheckoutModelCart, accessing the Quote object, yet it’s returning the default shipping address instead. Pulling that data from my block class like so: $statecode = $block->getCart()->getQuote()->getShippingAddress()->getRegionCode(); Switching addresses does not change the address this returns. Should I be calling a different […]
How can I organize the layout of the gallery so that I can easily view the newest images recent uploaded at the top of the gallery? They always appear at the end of the list.
With template hints ran on older Magento version, I could locate StripeIntegration_Paymentswebtemplatepaymentform.html that is rendering Pay By Card radio input in the payment page. I tried adding the code below in it display the logo, but it doesn’t work. Do I need to do it via KnockOut JS that I […]
I have two payment gateway. I want to change price accordingly I Created the product attribute for custom price. Now i want price come according to payment gatway