Questions tagged [magento-1]

General questions about Magento 1 not specific to a minor version. You can use it to distinguish from Magento 2, but if you have issues with a specific installation, use the appropriate magento-1.x tag instead.

Filter by
Sorted by
Tagged with
0
votes
1answer
251 views

update cdata dynamically [closed]

I am creating copy of xml file and try to change local.xml file database name dynamically but CData is not getting proper. my code is below, $xml = new DOMDocument('1.0', 'utf-8'); $xml->...
0
votes
1answer
280 views

Adding New Products Programmatically not Saving correctly in Magento 1.9

With a fresh install of Magento 1.9.3.8 I am trying to add products programmatically. It is adding the products , and I can see them in the product listing. It is not generating any URL rewrites The ...
0
votes
1answer
309 views

Get option/attribute that configurable product is configured by

Is there a simple way to get the attribute code, that a configurable product is configured by?
0
votes
0answers
11 views

Reference for Differences Between Versions of Magento

As I understand it , there was a big change between Magento 1.3 and 1.4 - then the next big change was at 2 ( with maybe some sort of change in version 1.6 ) The problem I have is translating data ...
0
votes
1answer
72 views

setCustomPrice is reset in checkout process

I want to add a product to a cart and change its price to 0. Currently I have : $request = new Varien_Object([ 'qty' => 1, ]); $cart->getQuote() ->addProductAdvanced(Mage::getModel(...
0
votes
1answer
195 views

How to export attribute values with their ids?

I need to get all attribute values with their ids into a .csv file. Is it possible to export this data by creating an advanced profile or something? Need the easiest option.
0
votes
3answers
170 views

Display a custom attribute below product name in the front-end Magento 1.9.3.8

I need to display a custom attribute bellow the product name and I don't know how can I call this attribute. I am editing the file /app/design/frontend/templatemela/MAG100219_1/template/catalog/...
0
votes
0answers
76 views

Patch installation SUPEE-10570 [duplicate]

In the website, all patch installed manually without ssh, Can we skip SUPEE-10497 patch and install directly SUPEE-10570 because we have already installed SUPEE-10415, SUPEE-10266 Website magento ...
0
votes
3answers
118 views

Manage Customers empty

After updating a Magento shop from 1.9.2.* to 1.9.3.7 and migrating it to a new server, everything works good so far. However, opening Customers -> Manage Customers in the Admin panel just shows no ...
2
votes
1answer
615 views

How does the zip code validation work?

There's a class called "validate-zip" and "validate-zip-international". How does that function know how many digits to validate against? Where do you adjust the settings that affect how many digits to ...
1
vote
2answers
1k views

Magento1 SQL select all Attribute Option values like in Admin Backend

I want to get all values of all M1 Attribute Option values like in Magento backend. I have this code SELECT eav_attribute_option_value.option_id, eav_attribute_option_value.`value`, ...
1
vote
2answers
26 views

Simple type products collection - wrong count

Here's a collection that should include all simple products in my magento store: $collectionSimple = Mage::getModel('catalog/product')->getCollection() ->addAttributeToFilter('...
0
votes
1answer
34 views

Magento1 get all attributes like in admin backend

We are bulding a new M2 Shop and I need to get all Attributes from our M1.4.1.1 using SQL. The Attribute Options are no problem. So far I found this code which works great but it only has a few ...
1
vote
2answers
69 views

Get Msrp product price from Quote

I'm trying to get MSRP Product Prices in cart/checkout pages. The price returned by the following code is always zero. foreach ($quote->getAllVisibleItems() as $item) { $product = Mage::...
1
vote
5answers
771 views

When to use Mage::getSingleton() in my custom module/Ext

theoretically i know about Mage::getSingleton() & differences b/w Mage::getSingleton() and Mage::getModel() but my question is that in my custom module when to use Mage::getSingleton(){Normally ...
3
votes
3answers
1k views

How can I check the cron jobs running on my site?

How can I check the cron jobs running on my site on terminal? Magento ver. 1.6.2.0
2
votes
2answers
3k views

Where can I find the last Magento 1.9.3.x package? [duplicate]

If I look here I can find only a 1.9.2 version. I'd like to upgrade on a new fresh installation, but I can't find a recent full Magento version...
0
votes
0answers
68 views

Upgrade Magento Enterprise Edition with version 1.14.2.1 to the latest 1.14.3.8

I wish to upgrade my Magento Enterprise Edition with version 1.14.2.1 to the latest 1.14.3.8 - and I can not seem to find any documentation on how to perform the upgrade from 1.14.2.1. Can someone ...
0
votes
0answers
38 views

First Name Last Name in Login not compulsory

I have made First Name & Last Name not compulsory in Magento. Now somehow on the cart page when I click on checkout button it goes to account info. Can I solve this somehow? Have never done such ...
0
votes
1answer
141 views

How to do db table collate change using update script?

I am trying to make a collate change (DEFAULT CHARSET=utf8 COLLATE utf8_general_ci) to db but not sure how? (magento1.9) <?php $installer = $this; $installer->startSetup(); $installer->...
1
vote
0answers
76 views

Add dynamic massaction to product grid

Is it possible to add dynamic massactions to admin grids? "Dynamic" in the way that the last dropdown options depend on previous selection? For example I want to update some attribute values. ...
1
vote
2answers
186 views

Magento Update Multiselect Attribute: add 1 option (dont overwrite curent0) via script or massupdate or extension

Magento Update Multiselect Attribute: add 1 option (dont overwrite curent0) via script or massupdate or extension Situation Product with multiselect attribute for color - COLOR [Green] [...
0
votes
0answers
39 views

How can I display all active shopping cart price rules via a custom controller?

I've been asked to make a controller that will display all active shopping cart price rules. Then add description, number of uses etc. I've created a custom module with a controller index: app/code/...
1
vote
0answers
377 views

Magento1 reindexing: running indexer from command is queuing instead of reindexing

I am trying to run Magento indexer with: php shell/indexer.php --reindex catalog_url But I am getting: Catalog URL Rewrites index was rebuilt successfully in 00:00:00 Which first made no sense to ...
0
votes
1answer
222 views

Magento 1 autoindex:error /skin/frontend

We get some php errors in our server log, that the DirectoryIndex could not be found in /skin/frontend/theme/theme/. But that seems to be right. That error only display sometimes and on different ...
0
votes
1answer
46 views

How to change telephone number, check if shipping country is “India” i want to add +91 before place order only

How to change telephone number, check if shipping country is India i want to add +91 before place order only. what i have tryed: /skin/frontend/base/default/js/opcheckout.js review.save() is ...
0
votes
1answer
29 views

Multiselct product attribute is not beign added into collection filtering

I have created a multi select attribute and assigned this to attribute set. Attribute is showing in product search results but I am unable to include this into product collection filtering as well as ...
0
votes
1answer
20 views

My new home page(after multistore setup) is loading without template config

I just setup(magento 1.7.0.2) my installation to work with another store(subdomain from main store) I think that almost all configs are ok because when a type my new store2 link on the brownser the ...
0
votes
1answer
28 views

Magento 1 - Quotation and CRM Extensions

I'm looking for recommendations for Magento 1 Quotation extensions. If you have purchased & experienced such an extension, I'd love to hear about it. I'm also looking into CRM extensions or ...
0
votes
0answers
644 views

Place Order Button Not Working

Hi I am having an issue with my magento site. The place order button is not working at all. Here is a screenshot of the errors I am getting on inspect: Can anyone help me please? Magento Version: ...
1
vote
1answer
166 views

Admin datetime picker returning empty array on post

I have a custom admin edit form with the following fields: $dateTimeFormatIso = Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT); $fieldsetRefInfo->...
1
vote
0answers
48 views

add to cart button for product list page [closed]

.what steps should I consider the description of ADD TO CART BUTTON for category page and product list page step by step.
1
vote
1answer
15 views

site admin viewing other sites customers

I have a multisite that has three separate websites using the same product database, the problem I have is the separate admins all being able to view the whole customer database, which is not ideal. ...
4
votes
1answer
125 views

Magento 1 extension and composer : Packagist and/or Firegento

I just finished an extension and I was wondering : in order to have my extension available in composer, is it better to publish it on Packagist or in Firegento ? In fact, I already published it to ...
3
votes
2answers
49 views

Adding new button from observer issue

I am using this event to add a new button: controller_action_layout_render_before_adminhtml_sales_billing_agreement_view This is my function: var_dump(Mage::getSingleton('core/layout')->...
0
votes
2answers
42 views

Magento 1.8 - Same website different url

Is it possible to show the same products, pages, etc. on a different url? The current situation is we have a Dutch website and we want to have a Belgium website. Both country's speak the same ...
1
vote
1answer
57 views

Alternatives or additional tools for Magento 1 EQP Coding Standard?

As I was working on a new "awesome" M1 extension (after I've read How to write a custom extension and others best practice like this or this), I decided to check if I was respecting the coding ...
0
votes
2answers
704 views

Magento : Which Event Observer Used For “Move to Shopping Cart” in Admin

I want to know which event observer is used in admin while do following. Step for better understanding (Do from admin). Create a new order Add a product to the order Select "Move to shipping cart" ...
0
votes
1answer
554 views

In Magento 1 Sales menu add custom created sub-menu

In Magento 1 Sales menu list add one new sub-menu same as order or invoice. Any one can create this type of extension?
45
votes
16answers
11k views

Security Patch SUPEE-10570 - Possible issues?

Magento has released a new security patch for M1, and updates for M1 and M2. What issues should I look out for when upgrading or applying this patch? SUPEE-10570 SUPEE-10570, Magento Commerce 1....
0
votes
2answers
64 views

Retrieve Admin product grid columns from an helper

I would like to get all the columns infos of the product grid columns from my own helper. I tried (among others) with the following code : Mage::getDesign()->setArea(Mage_Core_Model_App_Area::...
1
vote
1answer
163 views

Magento 1 datepicker issue selecting date for current month

This is my js code for my datepicker: Calendar.setup({ inputField : 'scheduled_ajax_update', ifFormat : '%d-%m-%Y', button : 'scheduled_ajax_update_trig', align : '...
0
votes
1answer
179 views

Payment Module not showing in Checkout - Magento 1

My Custom Payment no showing at the checkout. Help, please! Life or death issue. My code: app\code\local\FITeND\DuplicatePayment\Block\Form\DuplicatePayment.php class ...
0
votes
1answer
29 views

Magento 1x Sales Order Grid Source

Using magento 1.x I have changed the source of my sales_order grid form sales/order_grid_collection to sales/order_grid_collection protected function _getCollectionClass() { return 'sales/...
0
votes
1answer
498 views

Load all gallery images in category on hover (Ajax)

I have a code to load all the gallery images of a product in category, it will work but the problem is that will load ALL gallery images for products in the category (list.phtml) so will increase ...
1
vote
1answer
34 views

Overwrite community model method issue in Magento 1

This is my config xml from my custom module: <models> <emailtester> <rewrite> <variable>Mynamespace_Mymodule_Model_Mailer_Variable</variable> ...
0
votes
2answers
40 views

Category & Product Page detection

I am using the below on my 2columns-left.phtml template to detect whether the page is a category page or a product page. <?php $_catDetails = Mage::registry('current_category') ?> <?php ...
0
votes
1answer
70 views

How to group the products to their respective category in cart page?

I want the cart page to be like the added products like apple, orange etc into fruits category and fish into fresh fish category. How can i group them accordingly in the cart page ? For example: Cart ...
0
votes
1answer
124 views

Ajax Cart showing configurable product image instead of simple product

I am using ajax cart and minicart shows configurable image instead of simple image. Already Set Product Thumbnail in Stores -> Configuration -> Sales -> Checkout -> Shopping Cart -> ...
0
votes
2answers
36 views

I need to change the wording on my Login page but cant find it?

I need to change the wording on my Login page but cant find it? It has its own top heading. The top choices are Account, Login and Signup. I can find the Signup page but not Account or Login. www....