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

Magento extension setup in admin

I'm using a Magento Shop Version 1.5.1. For invoice payment the extension Mxperts Invoice is installed: https://github.com/sreichel/magento-Mxperts-Invoice/tree/master/app/code/local/Mxperts/Invoice Right now in the admin form the the invoice: System - Konfiguration (Configuration) - Zahlungsarten (Payment methods) on top of the form there…

VIEW QUESTION

Magento Detect checkout success page

I'm working with Magento 1.9 and have a PHP include file that I'm using to display facebook pixel code based on the page type. IE: cart, checkout, product details, catalog, cms... I'm looking at the page request module, controller, action,…

VIEW QUESTION

Create custom api to get filterable attribute for specific category in magento 2

I am creating api to get filterable attribute for specific category in magento 2. We see in category page for layered navigation. I want to achieve exact same data in api. $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $filterableAttributes = $objectManager->get(MagentoCatalogModelLayerCategoryFilterableAttributeList::class); $appState = $objectManager->get(MagentoFrameworkAppState::class);…

VIEW QUESTION

trigger function js when save button admin product is clicked magento

I'm trying to trigger a function in js when clicking on save button in edit product admin page. I followed the suggestions from here: https://magento.stackexchange.com/questions/119542/calling-js-function-when-product-save-button-is-clicked And I modify in app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit.php $this->setChild('save_button', $this->getLayout()->createBlock('adminhtml/widget_button') ->setData(array( 'label' => Mage::helper('catalog')->__('Save'), 'onclick' => 'productForm.submit(); myFunction();',…

VIEW QUESTION

Magento 2.2 product collection factory not returning all products

I'm trying to get all products using collectionFactory in a custom module like this: $products = $this->_productCollectionFactory->create(); ->addAttributeToSelect('*'); where _productCollectionFactory is initialized in the __construct() as an instance of MagentoCatalogModelResourceModelProductCollectionFactory $productCollectionFactory, the problem is that, without any applied filter, the…

VIEW QUESTION
Back To Top
Search