Blog
Sitemaps are the most important part to boost your app’s SEO. Here, I’ll try to explain the easiest way to implement a dynamic sitemap in your Laravel app.
For a configurable product, the following code will list the configurable’s childs prices only for the childs that are in stock: if ($_product->getTypeId() == 'configurable') { $_children = $_product->getTypeInstance()->getUsedProducts($_product); foreach ($_children as $child){ echo $child->getPrice(); } } When all childs are out of stock, the code above will not show […]
We are unable to get any Shipping Methods to show on customer check out. Checking out as a guest (call to estimate-shipping-method) or as a registered user (call to estimate-shipping-method-by-address-id) are returning empty arrays. According to this... I am missing the email and region_code as required in the payload. On our […]
I am trying to understand functionality of plugin method. for that i have created a custom module and i added below code in di.xml and model class code is namespace AdhikariStudyPluginModel; class StudyPlugin extends MagentoFrameworkModelAbstractModel { public function getName($name){ return $name; } } after that my plugin method code is […]