Skip to main content

New answers tagged

0 votes

How to get widget parameter in custom phtml or block?

public function getLayout() { $blockClass = 'Magecurious\InstagramFeed\Block\Feed'; $collection = $this->instanceFactory->create()->getCollection(); $collection-&...
user115226's user avatar
0 votes

error when submit shipment - Not all of your products are available in the requested quantity

You can see this topic. Reference: https://github.com/magento/magento2/issues/21646
Samuel Kong's user avatar
0 votes

How can I cancel processing order from frontend in Magento 2?

For pending order you can cancel, but for processing order you need to generate creditmemo
Sanjay Jethva's user avatar
0 votes
Accepted

Magento2.4.6: How to redirect a custom cms page to home page?

Just need to add URL Rewrite Requested URL : custom-cms-page Targeted URL : https://magento246.com/ URL Rewrite : Permanent
Afzal Arshad's user avatar
0 votes

When updating to Magento 2.3.1 db_schema.xml is invalid: Element 'schema': No matching global declaration available for the validation root

<?xml version="1.0"?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/...
Official Testing's user avatar
0 votes

The product that was requested doesn't exist. Verify the product and try again. error on checkout page magento 2

This might happen when a product that was previously ordered, or it maybe in the cart - has since been removed from the shared catalog. To prevent the error, you should return it to the catalog, and ...
Daniel from t.u.s's user avatar
1 vote

Magento2.4.6: How to redirect a custom cms page to home page?

@Afzal Arshad Hey, you need to add below code in htaccess file Redirect 302 /custom-cms-page https://magento246.com/ Thank You!
Sanjay Jethva's user avatar
1 vote

Magento2.4.6: How to redirect a custom cms page to home page?

A simple solution would be adding a URL rewrite from the Magento Admin Panel. To do so: Login to Magento Admin Panel and go to Marketing > SEO & Search > URL Rewrites Remove rewrite for ...
Mohit Kumar Arora's user avatar
0 votes

Magento2.4.6: How to redirect a custom cms page to home page?

window.location.href = "https://magento246.com/" There are multiple ways. One way is using Javascript code to do redirect. You can add this script in admin cms page.
Mahesh V's user avatar
  • 121
1 vote

Magento2.4.6: How to redirect a custom cms page to home page?

Here is code for redirect from custom cms page to Homepage app/code/Vendor/Module/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&...
Devang Hingu's user avatar
0 votes

Magento 2.3 custom email attachment not working

I am getting the same error in Magento [2.4.6] while applying the security patch. This was for Magento\Framework\Mail\Template\TransportBuilder As suggested by @Msquare Replace this Class use Zend\...
Akash Sathvara's user avatar
0 votes

Magento 2.3.2 Error XML declaration allowed only at the start of the document

You probably have whitespace in some php/phtml file/s before the starting . An xml with a precedeing whitespace is invalid and will give an error like yours. Check the following links for further ...
priyank marelab's user avatar
0 votes

Magento 2.3 - what is the recommended way of looping through a large product collection

For search criteria i came up with this on all customers as example protected function getAllCustomers($page = 1, $pageSize = 200) { $searchCriteria = $this ->...
erez taiar's user avatar
1 vote

Magento 2.3.3 The "https://repo.magento.com/packages.json" file could not be downloaded:

The error you are encountering suggests an SSL verification issue while Composer tries to download the packages.json file from the Magento repository. This often happens due to a misconfiguration in ...
Amal 's user avatar
  • 76
0 votes

SQL is_in_stock field not updating to Website

Anyone looking for a fix. vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusExpressionForDefaultStock.php Line 49, $connection->getCheckSql('css.stock_status IS NOT NULL', 'css....
Marcel Michael's user avatar
0 votes

current version - none, required version - 1.0.0

Upload the proper package of this extension : Wac_OrderGrid Run the following command from the CLI. php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindex php bin/...
Dhiren Vasoya's user avatar
1 vote

current version - none, required version - 1.0.0

Add the module version (1.0.0) into the module.xml file in following way Then rerun the Following command php bin/magento s:up php bin/magento s:d:c php bin/magento s:s:d -f php bin/magento c:f ...
Grazitti Dev's user avatar

Top 50 recent answers are included