I have created multiple store views, pattern lang_country. It is my understanding that the REST API url syntax is as follows /rest//V1/ where becomes all when targeting the default store view. Now, if I create a customer from Magento frontend, while browsing a particular store view, I see the customer […]
Magento2
I am using the following code to find an existing Shopping Cart Price Rule. $pCoupon = Mage::getModel('salesrule/rule')->load($name, 'name'); $pRule = Mage::getModel('salesrule/rule')->load($pCoupon->getRuleId()); This works fine but when I try to modify its data there are no changes. The following code when used on a new price rule works fine. if($pRule->getData()) { […]
i am missing a table setup_module in magent 2.3.2 database, the site is working, however i cannot install any extensions as the new tables are not being created due to missing setup_module. how can i create the setup_module table. found a post saying rename env.php and install magento 2.3.2 again
It it possible to just take a mysql dump from Magento 2.2.9 community edition and import it into Magento enterprise cloud 2.3.3 and what are tools to use to do the job. Specifically to do the importing into enterprise cloud?
I need to be able to query from mysql these fields shipping_method_code shipping_carrier_code for a custom shipping method (ShipperHQ) I am trying to use from the REST Api. Thanks
I set Magento up using Cloudways, and now I’m trying to move it to my local Ubuntu VM. I used the official .gitignore from Magento, cloned the project locally, ran composer install, made sure that I had my env.php and config.php files downloaded and in the right place. I changed […]
I am using the object manager (directly and intentionally) to get the sales quantity of a product. $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $product_id = 101; $soldproduct = $objectManager->get('MagentoReportsModelResourceModelProductSoldCollection') ->addOrderedQty() ->addAttributeToFilter('product_id', $product_id) ->getFirstItem(); This successfully allows me to get the quantity sold of a product by passing in the product ID to the […]
Can anyone explain why in some CSV’s translations are not always in ” “. For example in the tax csv: Tax,Tax Shouldn’t it be: “Tax”,”Tax”
I have submitted a module to the marketplace, I have tested it by all cases. I have switched to production mode but I am not getting any errors. However, I am getting a failure on submission with the below errors. Enabling maintenance mode Starting compilation Something went wrong while compiling […]