Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
990 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
12 views

From which Magento 1 version “catalogProductAttributeSetCreate” method is available

From which Magento 1 version catalogProductAttributeSetCreate and storeInfo method is available for soap API. Ex URL for soap wsdl: https://demo.example.com/api/v2_soap/?wsdl=1 https://demo....
8
votes
3answers
2k views

How to keep clients on Magento 1 given that end of life is in 11/2018

Magento will not release any new security patches from 11/2018 for Magento 1. Of course, there are a lot of small and not so small websites out there that are on Magento 1 that can't afford to move ...
2
votes
1answer
748 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
1answer
933 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
729 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
3answers
825 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
184 views

How to send a transactional email manually?

I have created an email with a coupon for customers. It is now in the list of the transactional email in the admin as a new layout. Is there a way to send that transactional email manually to those ...
0
votes
0answers
13 views

Magento 1 site indexed by google

Can any one tell me how to magento 1 website indexable by google. Any help?
0
votes
0answers
7 views

Generate 50% off coupon on already discounted products.If there is 10%, 20%, 30% or 0% OFF then the coupon should make it 50%

I want to generate coupon that apply 50% OFF on the products but if there is already discount on them like 10% OFF then the coupon should make it 50% OFF.Like wise if there is already 30% OFF the ...
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
849 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 ...
16
votes
4answers
79k views

Current Skin Url

I want to get skin URL of my current theme. At present I am working in Magento "rwd" theme. And I am using below code to get skin URL: Mage::getDesign()->getSkinUrl(); This returns me URL http://...
19
votes
0answers
229 views

Testing SOAP API's using EcomDev_PHPUnit

We just started working on a Magento project where there is a need for some complicated changes to the Magento SOAP API. Since we never properly worked with unit tests, this looked like a good case ...
1
vote
1answer
893 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
971 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
0
votes
0answers
182 views

Magento : Grouped Product with Configurable Product Mandatory to Add to Cart

I have a few grouped products, with more than one configurable products (with different colour as simple product) associated as sub products. The problem is, because simple product (colour) in a ...
28
votes
19answers
7k 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/...
3
votes
1answer
938 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
976 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
1answer
23 views

How to Set Store Config (system configuration)

We can get system configuration values using Mage::getStoreConfig($xmlPath); But how can we set such configuration field programatically? I would expect some method like Mage::setStoreConfig($...
1
vote
1answer
947 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/...
0
votes
1answer
898 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
0answers
6 views

Export specific customer data incl. orders to another instance

I'm working for a customer that has several Magento Instances (from local, to stage, to test, to production). On production, customers are creating unreproducable behaviours which developers would ...
2
votes
1answer
73 views

Learn zend, magento modules and magento API

I can already use magento and I have some php basics. Now I would like to deepen zend, magento modules and magento API. You could link me all the best resources to learn this?
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
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

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

I am getting an error when i run setup : Magento 1

I am getting below error: Call to a member function getDefaultStore() on boolean in D:\wampstack\apache2\htdocs\juliasvn\app\code\core\Mage\Core\Model\App.php on line 562 can anyone have any ...
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 ...
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?
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/...
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 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 ...
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 ...
0
votes
0answers
20 views

Delete/Deactive customer account after customer placed order in magento 1

It is possible to customer account delete or deactivate after customer placed the order otherwise deactivate after some certain amount of the time has passed.
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 ...
0
votes
0answers
35 views

Magetno 1.9.3 Syntax error or access violation: 1064 You have an error in your SQL syntax

On the ckeckout page, when the firstname or lastname contains a character " ' " then I get an error when placing the order: exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or ...
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 ...
0
votes
1answer
50 views

What happens to Magento 1 websites when PSD2 effective on Sep 14th, 2019?

Can Magento 1 site (CE + EE) comply with PSD2?
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 ...
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 ...
1
vote
3answers
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 ...
7
votes
3answers
3k views

Developer mode on production environment

I was recently contacted by a client to evaluate their Magento store. I realized that the store (even though running in production) had developer mode enabled in their index.php file: if (isset($...
4
votes
2answers
370 views

Make use of footer_before

The default RWD theme has a file named 1column.phtml in template > page. This file contains this line: <?php echo $this->getChildHtml('footer_before') ?> I could make perfect use of this ...
0
votes
1answer
30 views

Magento 1 : How to add multiple route in single Module

Below is the code for the router in config.xml <routers> <representatives> <use>standard</use> <args> <module>Mage_Representatives&...
0
votes
1answer
43 views

Add to cart before Magento 1 - Cancel adding

I am creating an observer to cancel the addition to the cart with add_to_cart_before. Here is my config.xml Module_Stockespagne_Model ...
24
votes
17answers
6k views

Security Patch SUPEE-11086 - Possible issues?

Magento has released a new security patch for M1, and updates for M1 and M2. These releases include critical security fixes. "We strongly recommend that all merchants upgrade as soon as possible." ...
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
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(); ...