karpa
  • Member for 5 years, 11 months
  • Last seen this week
How to check IsHomePage in Magento 2? Are we on the homepage?
12 votes

From inside phtml file this worked for me: if ($this->getRequest()->getFullActionName() == 'cms_index_index') { //you are on the homepage } if ($this->getRequest()->getFullActionName()...

View answer
Shopping Cart Rule Causing Internal Sever Error 500
3 votes

Based on comments on @kalpesh link this also solved the problem for me. (adding the fix here for future reference) There is a patch for this https://gist.github.com/piotrekkaminski/...

View answer
How can I properly trigger shipment emails via the SOAP API?
3 votes

I had exactly the same problem and it seems that there is solution without extending the API! The shipment API has an undocumented function called sendInfo. Thanks to cameronhimself for pointing this....

View answer
Get all products with status = enabled and price (not working)
Accepted answer
2 votes

You should LEFT JOIN the status attribute. Add this code: LEFT JOIN catalog_product_entity_int code_status ON main.entity_id = code_status.entity_id AND code_status....

View answer
Magento 2: Get Related products from Product Id now showing Name and price
2 votes

You can (should) avoid load each product in the loop. You can add the desired attributes in the collection and then use them in your loop. $relatedProducts = $_product->getRelatedProductCollection(...

View answer
Send tracking number programmatically with SOAP
2 votes

I had exactly the same problem and it seems that there is solution without extending the API! The shipment API has an undocumented function called sendInfo. Thanks to [cameronhimself][1] for pointing ...

View answer
Shipping address custom attribute value not getting in RateRequest object in Carrier Model in magento2.x
1 votes

I was having the exact same problem. In the end the only thing that worked for me was to get the POST data and use them to calculate the shipping rate cost. I will really glad to see how it should be ...

View answer
Magento 1.9 Can’t login to admin panel!
0 votes

For me the error was with the default CAPTCHA of magento. Set "Enable CAPTCHA in Admin" to "No". If you don't have a seccond admin user to login change this to DB. UPDATE `core_config_data` SET `...

View answer
How to export all the attribute and its options in magento 2
0 votes

I was looking for the same thing and came here. The comment of nicolallias was actually helpful and solved my problem. I Download and instaled this module https://github.com/BssGroup/magento-2-custom-...

View answer
Magento Facebook Login (belvg) stoped working
Accepted answer
0 votes

The problem that FB login has stop working is that Facebook had stop supporting API v2.2 after 25/03/2017 https://developers.facebook.com/docs/apps/changelog The v2.3 includes a change to the format ...

View answer