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
0answers
11 views

How to resolved duplicate records items which comes in admin order in Magento 1.9.4.4?

I am trying to resolve the duplicate records showing for configured products in the admin order in Magento 1.9.4.4 version. So anyone helps here? Thanks
2
votes
2answers
8k views

is Mage::getModel('my_module')->getCollection()->getData(); ok performance wise?

For a homepage I am getting data like this from my module's table: Mage::getModel('my_module')->getCollection()->getData(); I wonder if this is the best thing performance wise. There are only ...
1
vote
2answers
97 views

Magento 1: Where is oauth_admin.php

The rest documentation for Magento 1 make mention of an oauth_admin.php file $callbackUrl = "http://yourhost/oauth_admin.php"; $temporaryCredentialsRequestUrl = "http://yourhost/oauth/initiate?...
34
votes
2answers
69k views

Magento 1 - How to check whether user has logged in or not in magento?

I am doing mobile apps and I would like to know how to check whether user is already logged in or not. Is there any observer event to track? If it is detected that the account is logged in, the user ...
0
votes
2answers
1k views

Product SKU requirements. What characters are restricted from a product SKU and can there be spaces in the middle of the SKU?

For product SKU's can there be spaces in the middle of the SKU? Are there any character restrictions that can not be used for a SKU ?
2
votes
1answer
772 views

magento Shopping Cart is Empty on safari & explorer browsers when i add products on these browsers

My store Shopping Cart is Empty is always empty when I use safari browser and internet explorer to view my store and add to cart from this browser. Please, can anyone help me regarding this? What can ...
13
votes
6answers
7k views

Having multiple store views share the same order increment_id number range

Can Magento be configured in a way, that multiple store views of the same website can share the same order increment_id number range? And if so, how? For example, with a multistore setup like this in ...
1
vote
1answer
791 views

How to sort Product by it's parent category position

$sale_products = Mage::getModel('catalog/product')->getCollection(); $sale_products->addAttributeToSelect(array( 'image', 'name', ...
0
votes
1answer
737 views

Custom filter in the sales order admin grid giving Invalid block t

I've been able to filter custom added column like 'seller name ' its get from seller id of product. other filters are working. $this->addColumn('seller_id', array( 'header' => Mage::...
0
votes
1answer
99 views

Migration magento 1 to magento 2 error

I use the tool of Magento for migration data from Magento 1 to Magento 2. After run command lines: php -dmemory_limit=3G bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-...
0
votes
2answers
743 views

After join the customer name with custom module, i can't filter the grid by customer name

I create a custom module for product question. I added in my db the customer_id, but in the grid I want to show the name of customer. For that I did a join with customer_entity_varchar and got the ...
0
votes
1answer
1k views

Products still showing out of stock

Previously in my Magento store I had set the Qty for Item's Status to Become Out of Stock in the inventory to 5 so that if the quantity of the products reaches to 5 or below it should show as out of ...
0
votes
0answers
9 views

Magento 1: Retrieving checkout/session in standalone script

I've created a standalone PHP Script to test something. This script shows an html page which triggers an ajax request to another module in the same environment which adds data to checkout/session. ...
9
votes
11answers
6k views

SUPEE-11219 Potential issues?

Magento just sent out an email about a new security patch (SUPEE-11219). https://magento.com/security/patches/supee-11219 Affected versions: Magento Commerce 1.9.0.0-1.14.4.1 Magento Open Source 1....
0
votes
2answers
1k views

How to Trigger Stock Status Index?

We're using Mass Product Update in the admin, however, this doesn't trigger stock status. I can use observer once catalog_product_attribute_update_before is called, and manually trigger indexer there....
0
votes
3answers
919 views

Prevent the quantity of inventory in the backend products is negative

I'm using Magento 1.7.0.2 and Magento 1.9.1.0. As we know, by default, Qty Inventory at the backend (Admin - Catalog - Manage Products - Edit - General - Inventory - Qty) may contain a negative value, ...
1
vote
1answer
1k views

Filtering custom value from rendering column issue in Magento 1

I created my own collection with custom data. This is part from my grid class: my grid class extends Mage_Adminhtml_Block_Widget_Grid ... $this->setCollection($collection); array_walk($data['...
0
votes
1answer
11 views

Magento 1 - Hide products from customers

We have a problem with the visibility. We need to add some new configurable products, but the customers should not be able to see them, until we finished testing them. How are we supposed to do this ...
0
votes
1answer
16 views

Can't install magento 1 - “The URL is not accessible. Unable to read response, or response is empty”

I try to install magento 1 on a local server. I fail at the "Configuration" step. The project is reachable under a VHOST which I have called http://entwicklung.m1fresh/ But if I press next, I get: ...
0
votes
1answer
29 views

Magento 1 - Create own adminhtml theme (to override templates from adminhtml)

I need to override the file app\design\adminhtml\default\default\template\catalog\product\edit\options\option.phtml. What steps are required?
0
votes
1answer
877 views

Show also fixed price for bundle product when special price is set

Currently when we set a special price for bundle product it shows the special price as configured price. We use bundles as package products so we hide all options and selections and bundles have only ...
29
votes
5answers
22k views

Different storeviews or websites in subfolders

A client wants his multistore shop to be set up like this: http://www.domain1.org/de/ -> website 1, store view 1 http://www.domain1.org/en/ -> website 1, store view 2 http://www.domain1.ch/de/ -> ...
0
votes
1answer
24 views

Extending Order Search Filter

I got the task to port some custom build stuff from magento 1 to magento 2. One function was the extension of the order api, now the OrderRepository. In theory I got it running, but my problem is, ...
0
votes
1answer
8 views

Why do the Magento 1 setup scripts still have to be prefixed with 'mysql4'?

MySQL4 is largely obsolete now, even Magento 1 latest versions send a warning if you use Mysql4 prefixed classes. I searched if the setup file names also had this deprecation but couldn't find a thing....
0
votes
0answers
16 views

Paypal express payment review IPN notification query

We have query related to PayPal express payment review, One of our website customers placed an order with PayPal express after capturing payment(invoice) we received below notification. IPN "...
4
votes
5answers
18k views

How to get a category thumbnail or Image?

I am stuck at this point. I want to display a grid of categories thumbnail/image var_dump($_category->getData('thumbnail')); return NULL Even when I do var_dump($_category->getData()); here is ...
0
votes
3answers
5k views

Get category 'thumbnail' image and text within product pages

We'd like to use the category thumbnail and text as brand info to show the logo and description on the product page. How can I get these information on the product page? I'm working in: .../template/...
1
vote
1answer
1k views

Button print order does not show

I have a Magento 1.9 and it does not show the button to print order pdf in orders. How I can enable this? Thanks
1
vote
1answer
942 views

Custom Date Range in Admin Dashboard

I am working on a task to modify Date Range on Dashboard chart. Data chart will display on custom date range selection (Today/Yesterday/This Week/Last Week/This Month/Last Month). I have extend the ...
3
votes
1answer
1k views

CSS not showing for “NEW” or “SALE” label

So I followed this tutorial to add "NEW" or "SALE" label for this site: http://www.ubertheme.com/docs/add-product-labels/. The label does show up on the product icon but for some reason the CSS isn't ...
0
votes
2answers
793 views

Magento CE Warning: simplexml_load_string(): Entity Parser Error

I am trying to resolve an error I see in the system.log file for Magento. However I can not figure out what the issue or or more importantly how to resolve it. I have looked at the update.php file ...
12
votes
4answers
25k views

Pass data to getChildHtml() or call method on child block

I want to be able to pass data to the getChildHtml() call. The reason is, the output of the block is dependant upon a product type. So i want to pass the product to the getChildHtml so that it can ...
0
votes
1answer
903 views

How can I display the product short description in the related product template?

I need to display the related product short description in a magento 1.9 store. What do I need to add to the template->catalog->product->list->related.phtml file?
6
votes
1answer
1k views

“Interface Locale” admin language problem

In my admin page, the "Interface Locale" dropdown is not working. I already switched the default language to German, but is still shows English. The same with Chinese. How can I solve this problem?
0
votes
2answers
1k views

Class 'Varien_Data_Form_Element_Datetime' not found

when trying to edit a product in admin I suddenly got this error: PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found in /home/public_html/lib/Varien/Data/Form/Abstract.php on ...
0
votes
0answers
10 views

Magento 1 - Debug magento backend variables

I added some checkboxes to the contact form. e.g. <input name="katalogcheckbox[]" id="katalog_1" title="Katalog für Insektenschutz bestellen" value="katalog_A" type="checkbox" class="checkbox" /&...
2
votes
4answers
2k views

Disable Ajax Add to Cart on product page

In our web-shop, we use an AJAX add to cart, so the page doesn't have to reload. But when the order is bigger than the stock, the ajax keeps loading and doesn't show a message the order isn't ...
2
votes
1answer
2k views

Get selected Custom Options from configurable product

the following observer script looks for selected configurable options, to work out the qty needed and adds a simple product (#9236) to the cart. However, it only works for simple products. How can I ...
1
vote
1answer
978 views

How do I add a custom dropdown filter in a grid

This is my code: $this->addColumn( $key, array( header' => Mage::helper('core')->__($key), 'index' => $key, 'filter' => 'adminhtml/...
28
votes
21answers
10k views

Security Patch SUPEE-11155 - Possible issues?

Magento has released a new security patch for M1, and updates for M1 and M2. What common issues do you have to watch out for when applying this patch/upgrade? Magento 1 https://magento.com/security/...
2
votes
2answers
2k views

Programmatically Export Sales order customer details to excel format

I tried to export sales order customer details, its working fine, but i want customer country code(country name) not id. below i mention my full code. <?php require_once("app/Mage.php"); Mage::app(...
3
votes
3answers
2k views

Increasing all product prices by percentage | Custom Script

I am trying to find a way to update all product prices by 5% then I want to revert them to the original price and wondered if anyone had any ideas of the best way to achieve this. At the moment I am ...
0
votes
1answer
284 views

Magento 1.9 : Create a CSV of product SKU, Quantity and Price

I'm trying to work out how to create a downloadable CSV file that contains fields for Product SKU, Quantity (should be set to 5 if more than 5 in stock) and Price in Magento 1.x. Price in this ...
1
vote
2answers
765 views

Cron does not update currency rates

I'm using this module to replace webservicex currency rates importer: https://github.com/philwinkle/Philwinkle_Fixerio It is working ok when I hit import and save in the backend. But I want to run ...
6
votes
2answers
2k views

Get page URL from current page, different store-view

I'm using different store-views to create different language versions of a shop. Now I'm trying to add links to the other pages. However, I can not find a way to get the actual URL from the other ...
0
votes
1answer
1k views

How can I move blocks around in Magento 1.x layout?

I'm trying to move the highlighted div right after the header page div. I'm not sure how I can do this - can someone explain how?
0
votes
2answers
1k views

Magento 1 - Change Magento custom options date values

Hello I am simply trying to find the array of defaults for the product custom-option date my goal is to change the month from "01,02,03....12" to a string with the month name "Jan. , Feb. , Mar. - ...
0
votes
1answer
39 views

How to generate a pre-patched version of Magento 1 SUPEE patch?

Some people like Meetanshi has pre-patched version of Magento 1 SUPEEs. How they generate those files? This is very useful for people (Like me) who are not able to apply patches via SSH from .sh ...
1
vote
1answer
1k views

Create credit memo programatically - refund offline issue

This is my code: $OldOrder = Mage::getModel('sales/order')->loadByIncrementId(3123121312); $invoices = $OldOrder->getInvoiceCollection(); $service = Mage::getModel('sales/...
1
vote
1answer
2k views

Magento 1 - How to show bundle products original price and discount price in product listing page

Am creating a Combo Offer using Bundle option in my store. I did everything, but need to show Original Price and Special price in product list page. Eg:

1 2 3 4 5 38