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
1
vote
2answers
683 views

Add a block to a page with event observer

I'm trying to add a static block to a page with an observer. The event that I'm listening to is controller_action_layout_generate_blocks_after and this is my observer code: <?php ... class ...
2
votes
1answer
896 views

Limit category to a specific customer segment

In my store (mage-EE v12) I have a category that i want to restrict to a specific customer segment. Does anyone know of a way i can do this? EG, if i set up a segment, I want customers in this ...
2
votes
2answers
883 views

Adding NOINDEX tag to products

We no longer have a web developer but need to add NOINDEX tags to all our products to help with our SEO We have about 450 products at any one time We are using Magento 1.8.1.0 We are complete ...
0
votes
2answers
142 views

In Magento 2 admin, how to set Custom Layout Option to a default value of ''No Update' value

I recently did data migration from M1 to M2 with data migration tool. The product when opened in the edit mode from Admin would show "Use Existing" as the default value instead of "No Update" for ...
2
votes
1answer
14k views

Not valid template file in magento

I have added the following to local.xml file <?xml version="1.0"?> <layout version="0.1.0"> <contacts_index_index translate="label"> <label>Contact Us Form</...
2
votes
1answer
2k views

Showing all options in layered navigation

I have a dropdown attibute. It is visible in the layered navigation. But it always shows all the options. Even when one of the options is selected. I think this is changed from the default setting by ...
0
votes
2answers
866 views

How to set the default option in existing dropdown attribute

How do I set an option in a dropdown attribute as the default? I am adding the options to an existing attribute with this code where $aName is an array of names. $installer = new ...
1
vote
1answer
800 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
2answers
750 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
3answers
759 views

Billing name order in billing_name column in sales_flat_order_grid table

Can someone please tell me when a record is pushed into the "sales_flat_order_grid" table? How can I switch first name and last name in "billing_name" column of this table?
2
votes
1answer
734 views

How to call cms block of block type into custom header

I've made code of most viewed products which I'm trying to call under custom header. This is what I've done so far. Posted the block code under cms block by name 'most_viewed'. {{block type="...
0
votes
0answers
17 views

Orders Not Showing Under Customer's “My Orders” Tab

Some Customers are able to see their past orders under the "My Orders" Tab and some are not. I was able to narrow it down to just customers who have a custom attribute attached to their account but I ...
0
votes
1answer
804 views

Custom Module Displays Blank Page

I am trying to add my own module to the admin in version 1.x but I'm getting the blank page when I try to open the module This is what I have managed to achieve so far; My module appears as a ...
0
votes
0answers
10 views

How Can I pull the correct Sku into a packing slip PDF?

This is my current code: " " Unfortunately, this is only pulling part of the item's sku and not the entire thing. It is leaving off everything after the first "-". For ...
0
votes
1answer
17 views

Magento 1.9 :Product images missing in backend but not in the frontend

I am Facing an issue,that product images are missing from ‘Images’ tab of product edit form, but they are displaying fine in the front-end. Screenshort:
0
votes
2answers
884 views

Magento redirect to checkout after adding to cart

I want to disable the shopping cart page. I mean that when customers add products to cart, Magento will skip the shopping cart page and redirects them to the checkout page to shorten buying process. ...
1
vote
1answer
949 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 ...
1
vote
1answer
917 views

How to get all products collection for special category

I am looking for function which is similar to getLoadedProductCollection and which retrieves all products from this category with selected filters, not only those I can see on current page like ...
9
votes
4answers
2k views

Magento Observer Events - order of operations

I am attempting to inject functionality into the catalog_model_product_duplicate event. Part of this module will be to ensure that the stock status of the duplicated product is also duplicated; ...
0
votes
0answers
35 views

Downgrade PHP 7.4.2. to 7.1.3, 7.2.0, 7.3.0 [migrated]

During the 'Readiness Check' installing Magento 1.x , the only thing scuppering me is the PHP version check. My Mac (utilising Mamp Pro) is using PHP 7.4.2. and I need to downgrade to either PHP 7.1....
0
votes
2answers
892 views

Magento 1 get product or category id by url string

I have url string. I need to detect if url belongs to product or category and get product or category id. I tried this, but it won't work: $vPath = 'http://dev.magento186.com/default/example/...
0
votes
1answer
1k views

Product Page Layout

I'm trying to find a way to add a new custom layout for some products so I can just go to the Design Tab and choose the "Page Layout" from the dropout. I can only find CMS Layout pages in google. Also ...
0
votes
0answers
21 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
120 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
70k 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
778 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 ...
0
votes
1answer
739 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
157 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
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
10 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
7k 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
940 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
12 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
20 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
31 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
883 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
10 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
23 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
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
829 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 ...

1
2 3 4 5
39