Daily Archives: May 3, 2020
I want to add a table here Like the one in customer -> edit. I figured out how to create it (in system.xml): MYModule Example config section example_tab MYModule_SendCoupon::config Partner Informations Name required-entry validate-number
After some research i found that it’s best to approach it like this: find bottom level category for each product and return it’s path delimit the path into individual categories. That gives you IDs of individual categories find values for each category concat into one cell Preferred method as it […]
I have created new column in customer_entity table class UpgradeData implements UpgradeDataInterface{ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { if (version_compare($context->getVersion(),'1.0.6'<0)){ $customerName = $setup->getTable('customer_entity'); if ($setup->getConnection()->isTableExists($customerName) == true) { $connection = $setup->getConnection(); $connection->addColumn( $customerName, 'family_name', [ 'type' => MagentoFrameworkDBDdlTable::TYPE_TEXT, 'length' => 100, 'nullable' => true, 'comment' => 'Family Name' ] […]
After installing a new theme as a new store-view, most of my product images (about 1000) will not show on the new storeview. They are showing OK on the original store view with the old theme. It is suggested that Most likely I have some wrong rewrites because when I […]