Magezon – Image gallery setting up

Download the zip file after the purchase, and unzip on the app/code folder. After the upgrade, deploy and di-compile commands, On the Website Admin backend Albums – Allows you to create collection of images and video albums. You can easily drag and drop multiple images. Please select the grid view for a better display. Category – Enables… Continue reading Magezon – Image gallery setting up

Published
Categorized as Magento

Increase the customer session on the website

The timeout occurring at short intervals was due to security measures triggered by user inactivity.  To improve the same, For frontend (customer) sessions: Go to Stores > Configuration. Navigate to General > Web. Under Default Cookie Settings, adjust: Cookie Lifetime: Enter the number of seconds for the session duration (e.g., 86400 for 24 hours). Click… Continue reading Increase the customer session on the website

Published
Categorized as Magento

How to include a new field on the Shipment API in Magento2

Create a new field on the sales shipment table using the db-schema.xml file Then add the newfield on the extension attributes file app/code/JJ/DocumentNumber/etc extension_attributes.xml <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework/Extension/etc/extension_attributes.xsd”> <extension_attributes for=”MagentoSalesApiDataShipmentCreationArgumentsInterface”> <attribute code=”document_number” type=”string”/> </extension_attributes> </config> For saving the field di.xml <config xsi:noNamespaceSchemaLocation=”urn:magento:framework/ObjectManager/etc/config.xsd”> <type name=”MagentoSalesApiShipmentRepositoryInterface”> <plugin name=”custom_shipment_repository_plugin” type=”JJDocumentNumberPluginShipmentRepositoryPlugin”/> </type> </config> ShipmentRepositoryPlugin.php <?php namespace JJDocumentNumberPlugin; use MagentoSalesApiDataShipmentExtensionFactory; use MagentoSalesApiDataShipmentInterface; use MagentoSalesApiShipmentRepositoryInterface; class ShipmentRepositoryPlugin… Continue reading How to include a new field on the Shipment API in Magento2

How to solve the RDBMS error up on steup upgrade after MYSQL upgrade

Solution:- Please be assured that we checked and though the MySQL downgrade is not feasible once the MySQL version is upgraded. However, we did this workaround. Updated the required MariaDB version in: app/etc/di.xml from <item name=”MariaDB-(10.2-10.4)” xsi:type=”string”>^10.[2-4].</item> to <item name=”MariaDB-(10.2-10.5)” xsi:type=”string”>^10.[2-5].</item> and that fixed it.

Published
Categorized as Magento