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
2answers
949 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
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 ?
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 ...
4
votes
7answers
7k views

How to quickly tell if a Magento site is version 1.x or 2.x?

While browsing some sites that built on Magento, how do you tell if it based on 1.x or 2.x. I do have Built-with extension in Chrome, but prefer manual approach. Thanks!
0
votes
0answers
16 views

Data migration tool. migrate:settings error “Access denied for user 'root'@”

I try to migrate data around two local environments running on docker and they are set by expose: - "8080" - "3000" in docker-compose.yml When i starting: bin/console exec migrate:...
2
votes
2answers
2k views

Magento search return only products containing both words [duplicate]

If a customer searches for "black dress" my current search results includes products with word "black" OR "dress" OR "black dress". How can I only show products that have both words: "black" AND "...
2
votes
1answer
807 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 ...
0
votes
0answers
25 views

What is most easy way to move the old Magento 1 frontend layout to the new Magento 2 edition?

I will setup my old Magento 1.4 webshop to the Magento 2.3 webshop. Can somebody help me to explain which steps i have to make? So far i found, data migration tool cannot be used for it? Which folders ...
2
votes
0answers
16 views

What is the standard order process workflow in Magento 1?

I'm trying to understand the order process in Magento 1.7. The background is: I'm extracting the payment (and later the complete checkout) from Magento to another system, but the order processing ...
0
votes
1answer
2k 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
1answer
905 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 ...
4
votes
4answers
2k views

Set up Magento 2 sites on the same server with another Magento 1 site

I already have a Magento 1 site but now I want to set up an additional Magento 2 site on the same server with that Magento 1 site. Is it possible to do this thing?
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
101 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: ...
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
4
votes
3answers
14k views

Magento 1 - category view URL doesn't get routed, product view does

In the process of setting up my site, I have been unable to use category view links of the form: /catalog/category/view/id/ Similar links to a product view page work just fine. The above leads to ...
0
votes
2answers
1k 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 ...
0
votes
1answer
916 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?
1
vote
1answer
8k views

Magento 1 - Create Simple Controller Not Working In My Module?

I am Trying To create a Simple Module. It's Found 404 page Error. My config file in app/etc/module/Ffay_All.xml <?xml version = "1.0"?> <config> <modules> <...
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 ...
2
votes
3answers
414 views

Get All Orders from Database

I am following this article. I would like to retrieve all Orders from Database. Can anyone say how can I do that??
1
vote
4answers
1k views

How to add new or customize existing top header links in Magento?

I want to change the existing top links AND add some new.I need them to be in larger font (not default one) with icons or images before them. I read some tutorials and came to know its done by writing ...
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 ...
1
vote
2answers
856 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 ...
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 ...
6
votes
1answer
2k 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?
8
votes
10answers
4k views

Security Patch SUPEE-11314 - Possible problems?

Magento have released new Magento 1 versions 1.14.4.5 1.9.4.5 The patch number is SUPEE-11314 and is available at https://magento.com/tech-resources/download A summary (covering both M1 and M2 so ...
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 ...
1
vote
1answer
1k 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/...
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 ...
6
votes
2answers
1k views

New website/store view, all pages 404 (including homepage)

As per the title, I've set up a new store on a different domain and all pages including the home page are returning 404. I've tried pretty much everything, and I'm wondering if any of you can think ...
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?
4
votes
3answers
4k views

Issue coupon on newsletter signup

I'm using Community 1.9 with the Magemonkey extension by eBizMarts for Mailchimp installed. How can I go about creating a rule so that any person who subscribes successfully gets a $10 coupon to spend ...
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
1k views

How to disable quantity edit in frontend for grouped products

Some Brief I want to sell products like tea, coffee, juice etc they are in small packets each packet cost is around $3.73. For this i will make it simple product in magento. So when customer will ...
5
votes
1answer
2k views

Grid pagination does not work in magento

Pagination is not working in my grid. All records are being shown on same page. All though Pagination is being shown at the top but all pages shows same records. Here is the code-- protected ...
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/...
2
votes
1answer
2k views

Magento Clears Session Data After Redirect

For some reason, magento clears session or customer session data after redirect? How will I save some data before it redirect to the next page into a session? I tried adding session_write_close(); ...
7
votes
3answers
25k views

How do i call a controller function in ajax?

This is the content of my .../template/exportdb/attributes.phtml file: <span id = "attributes">Generate</span> <script type="text/javascript"> jQuery(function () { ...
1
vote
1answer
2k views

Error Code : 15005 Processor Decline in Paypal

I have created a dummy country in magento for some requirement. I have created a store and assigned that dummy country as default country for that store, by using configuration System -> ...
0
votes
1answer
2k views

Magento Configurable Product Page Update Custom Dropdown With Attribute Value

So I have a configurable product which has a number of associated simple products. I am trying to obtain functionality on product page where the user can choose a colour for the product, and then ...
1
vote
1answer
2k views

Magento, programmatical checkout not including shipping rates

I'm trying to write this script to checkout using the cart. The problem is that the shipping rates aren't being factored into the totals and when the order goes through the order details say there is ...
0
votes
1answer
726 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
1k views

Magento 1.x site gives me an error message about Fatal error

I get this when I go to my site: Fatal error: Call to a member function children() on a non-object in app/code/core/Mage/Core/Model/Config.php on line 946 I have done anything on it today. May I ...
2
votes
3answers
1k views

Customer Information Attribute in New Order Email Template

I've scanned many posts but cannot get to bottom of this one. I have created a custom Customer Information attribute and I need it to display on the New Order transactional email. Any ideas? I have ...
6
votes
1answer
1k views

How to get the product id and SKU code of the product selected

I am using a plugin to enable notify me (Out of stock) feature, the plugin is working properly but the problem is it is taking the core product id and storing it in the backend, even after I select a ...
1
vote
2answers
1k views

Couldn't reindex stock of one item programmatically

I'm trying to reindex one product only programmatically: $product = Mage::getModel('catalog/product')->load($_productId); $product->setForceReindexRequired(true); Mage::getSingleton('index/...
2
votes
1answer
1k views

Adding custom options to all products of a certain type on save

I have created some custom product types that extend from simple products. These product types will all have the same custom options added, so I'd like to just set those options on the product when ...
5
votes
3answers
2k views

Show product of a category in a custom page

I create a category with some product. Also create a custom layout for my page that I add new cms page with this layout that I created. I need to have this page with my layout because I want to add ...
0
votes
1answer
769 views

magento set dropdown attribute value by selected value instead of id

i wrote custom code to assign attribute to product , issue is with dropdown attribute say color with values : red , green , yellow not i want to set value of color to be red so i used code below $...

1
2 3 4 5
39