Categories
CMS Magento Mastering Development

Don’t show products that are completely out of stock, but show out of stock sizes

I want to hide products only if all the sizes are out of stock, but I also want show sizes that are out of stock. I have seen that you can turn on an option in Stores > Configuration > Catalog > Inventory > Display Out of Stock Products (Y/N). When I set this option […]

Categories
CMS Magento Mastering Development

RequireJS and ES6 Style Javascript Module Plugin (Specifically moment-range for moment js) How To Setup Require Config?

I want to load this plugin "moment-range" for Moment which is in ES6 Format here: https://github.com/rotaready/moment-range/blob/master/lib/moment-range.js They do also have it in this format too, not sure what to call it: https://github.com/rotaready/moment-range/blob/1effe5852e7d9312debc6ecb6de334b605bc9fb6/lib/moment-range.js Their install docs are here: https://github.com/rotaready/moment-range So I have my requirejs-config.js like this: var config = { map: { ‘*’: { ‘moment-range’: ‘MyCompany_Mymodule/js/utils/moment-range’ […]

Categories
CMS Magento Mastering Development

after upgrade magento version 2.4.0 get error Unable to serialize value

after upgrade Magento version 2.4.0 get the error Unable to serialize value. 1 exception(s): Exception #0 (InvalidArgumentException): Unable to serialize value. I have use this Link on some page it fix, and now in the checkout page I get this error, vendor/magento/framework/Serialize/Serializer/Json.php please help me on this.

Categories
CMS Magento Mastering Development

The shipping information was unable to be saved. Verify the input data and try again i ma getting this error in checkout page magento 2.3

The shipping information was unable to be saved. Verify the input data and try again

Categories
CMS Magento Mastering Development

Magento 2 – How to override Method getShippingMethodTitle in Magento_Checkout/view/frontend/web/js/view/summary/shipping.js

I need to override the method getShippingMethodTitle which is defined in vendor/magento/module-checkout/view/frontend/web/js/view/summary/shipping.js. The Method gets the shipping method title in the checkout in the summary: I tried to override it by using a mixing like this: Company/Shipping/view/frontend/requirejs-config.js: var config = { config: { mixins: { ‘Magento_Checkout/js/view/summary/shipping’: { ‘Company_Shipping/js/view/summary/shipping-mixin’: true }, } } }; I also […]

Categories
CMS Magento Mastering Development

Upgrade 2.4.0 to 2.4.1 composer fails

I’m working with a composer 2.4.0 and try to install 2.4.1 According docs [x] Determine whether your current catalog search engine is supported [x] Complete the Update and upgrade checklist [x] Set the pub/ directory root [x] Check PHP and environment settings [x] Switch to maintenance mode bin/magento maintenance:enable [X] Check the status of cron […]

Categories
CMS Magento Mastering Development

Magento 2.3 – Import products CSV which have SKU with dot

Magento version – Magento 2.3.5. I want to import Products through System – Import – Products using CSV file. Everything is working except that in my case I have an SKU which has a dot in it, for example, SKU – "123456.123.12.12". And when I try to import, it throws an error – Notice: Undefined […]

Categories
CMS Magento Mastering Development

custom grid filter doesn’t work when filtring products by category (bl_customgride module)

I’m using BL_CustomGrid extension for customising admin grid, when I filter products grid by categories it throws me the error bellow, I couldnt find out how to diagnose the problem, if anyone has an idea I would really appreciate it. Thank you a:5:{i:0;s:43:"Invalid attribute name: blcg_custom_field_1";i:1;s:7372:"#0 /app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1291): Mage::exception(‘Mage_Eav’, ‘Invalid attribu…’) Mage_Eav_Model_Entity_Collection_Abstract->_addAttributeJoin(‘blcg_custom_fie…’, ‘inner’) Mage_Eav_Model_Entity_Collection_Abstract->_getAttributeConditionSql(‘blcg_custom_fie…’, Array, ‘inner’) […]

Categories
CMS Magento Mastering Development

mazeplaza core module font preload issue in magento 2?

https://www.example.in/static/version1603327304/frontend/Emthemes/mobile_default/en_US/Mageplaza_Core/css/fonts/fontawesome-webfont.woff2?v=4.6.3 This is added in CSS file of font-awesome.min.css This is located in vendor/mazeplaza/module-core/view/base/web/css/font-awesome.min.css Font located in vendor/mageplaza/module-core/view/base/web/css/fonts/fontawesome-webfont.woff2 I’m unable to solve this issue anyone can suggests me how to handle it

Categories
CMS Magento Mastering Development

Paypal Express Checkout Review: request to enter necessary information to the shop

When a customer purchases with PayPal express checkout, information that is essential for us is often missing: The telephone number (it is not always populated on Paypal because it is not mandatory). The certified email address (if it is an Italian company). These two pieces of information are essential for the proper functioning of the […]