skip to Main Content

Magento product import

i want to programmatically import a product into my magento. Unfortunatly I get an error which is not telling me a lot maybe some of you have an idea. Here is my php code: echo '<pre>'; echo 'Create Product Model';…

VIEW QUESTION

Add custom attribute in magento 2

How to add a custom field to the frontend registration form. I already added required feilds in database by following public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); $eavSetup->addAttribute( MagentoCustomerModelCustomer::ENTITY, 'sample_attribute', [ 'type' => 'varchar', 'label'…

VIEW QUESTION
Back To Top
Search