First: I understand how to create a custom module within a customtable in the backend. I had already done this and it works fine and I can save some information with it in the backend. (Name: app/code/TestModule/Module) But now I try to customize the order process. I want to save some data, like the ‘oder_id’ and the ‘order_date’ in a
Tag: magento
Sample PHP code to programmatically check SOAP connection in Magento 2
I tried the below code though I am not sure whether these are the required set of scripts, but it didn’t work and gives SOAP-ERROR: Parsing WSDL: Couldn’t load from : Start tag expected, ‘<‘ not found Can anyone share the code to make SOAP connection in Magento2.x In Magento1.x the below code works fine to connect SOAP But the
Chmod 640 for uploaded file after SUPEE 7405 patch
After installing the SUPEE 7405 patch, we noticed a problem uploading images from the admin. All file permissions are being set to CHMOD 640 which makes them inaccessible to all users. Is there a solution that does not involve rewriting the /lib/Varien/File/Uploader.php file? Answer A new version of SUPEE-7405 has been released that resolves this issue: http://magento.com/security/patches/supee-7405 Updated February 23,
Magento get the SKU of the first simple product in configurable
I need to get the SKU for a simple product that is part of a configurable in Magento. Something along the lines of: if($_product is simple) { echo $_product->getSku(); } elseif($_product is …
Magento separate PHP-FPM group for admin
I run a Magento webstore with middling traffic levels, running on NGINX with PHP-FPM. The server environment is very powerful with plenty of overhead, so hardware is not a factor. We are getting timeouts and errors when running memory intensive operations in the backend, such as exports and some custom indexes. Ignoring writing more efficient code and increasing pool sizes
Which file should I use when assigning products to a category in Magento programatically?
I am new to Magento. I have created a category in the back end of Magento. There are quite few threads about how to assign a product to a category, however I don’t understand which file should I use to use that code: Programatically add Magento products to categories How to assign categories for products in magento Programmatically Magento wiki
One Page Checkout scrolling to the bottom of screen on next
On my magento site, I am getting a strange behaviour in onepagecheckout that I’d like to fix. Basically, on Step 2, after entering all the data required and I click on the continue button, the page automatically scrolls down to the bottom of the screen so instead of seeing the shipping option, you see the footer and have to scroll
Grouped Products with Individual “Add To Cart” Button (Magento)
I am trying to set up a grouped product in Magento. What i am trying to accomplish is to add “add to cart” – button behind every grouped option that adds only this product to cart and not the hole grouped product. I have managed to get “read more” buttom to work with This will show product. The problem is,
Why does Magento keep only the first 1000 products in a category, after saving the category?
Using Magento’s back-office, after saving a category which was linked to many products, only the first 1000 products (or 2000, or x000, depending on host configuration) are kept. All other category/product links are deleted from the catalog_category_product table in the database. This occurs even though no checkboxes have been unchecked in the products grid (Category Products tab). No error message
Salesforce to magento integration
This is my code… I am just trying to create a lead in salesforce using this code. This is a sample php toolkit code for salesforce. But when I am trying to run this code. It does not generate any lead in salesforce. My login credentials are correct and security token is also correct. Where am I going wrong? I