Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-1.9]

Magento Community version 1.9

0
votes
0answers
9 views

Magento 1.9 - how to determine if customer already used discount code

How Magento know if the customer already used coupon code (unregistered customer). Is Magento checking customer's IP or some other specific data?
0
votes
0answers
11 views

How we can remove cart item in webservice in magento1.9.3

please check my code because this code removes all cart item. I want to remove 1 by 1.. please check the code and let me know what is the issue. <?php ini_set("default_socket_timeout", 200); ...
0
votes
0answers
12 views

Magento1 admin order place after save custom shipping method

when i have order place via admin after i have use sales_order_place_before event and save custom shipping method title and price but not working event working successfully but not set custom ...
0
votes
1answer
14 views

Assign related products from categories (Magento 1)

We have a magento store and we have over 1000 products listed. We want to assign random related products, but they should be within the category. For example, if a product is listed under Men >> T-...
0
votes
0answers
11 views

Magento 1.9.4.1, saving product attributes values lost/messed up

I have a catalog drop-down attribute, within that attribute there are about 70 options defined. Every time after saving that specific attribute, one of the options loses its display-value for each ...
0
votes
0answers
10 views

Category attribute's value does not get updated when in store emulation mode

I am trying to update some category attribute's value for a specific store, and i need to do it in emulation mode. So i do something like this: $appEmulation = Mage::getSingleton("core/...
0
votes
1answer
12 views

Grouped Product price not found in product observer [on hold]

How to find group product price in magento 1.9
0
votes
1answer
28 views

<?php echo $this->getChildHtml('order_totals') ?> finding path

<?php echo $this->getChildHtml('order_totals') ?> I am searching the path in server. but unable to find Please help me.
0
votes
1answer
31 views

Code for sending order confirmation and its working

I have a data ware house running in PostgreSQL server ,i'm loading data using PYTHON to the DWH from Magento, I want to consolidate all the mailing process from my DWH , for which i have devised a ...
0
votes
1answer
11 views

how to get customer cart_item list in webservice magento1.9.3?

please check my code cart list not coming on "postman". <?php ini_set("default_socket_timeout", 200); ini_set("max_execution_time", 200); ini_set('display_errors','On'); error_reporting(E_ALL); ...
0
votes
1answer
22 views

Migrate Magento 1.14 EE to 1.9 CE [duplicate]

I need to migrate magento 1.14 EE to 1.9 CE. Can anyone tell me the steps to perform thanks.
0
votes
0answers
13 views

Error While saving quote programmatically

Notice: Array to string conversion in D:\Projects\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php on line 3074
0
votes
1answer
21 views

Newsletter Magento 1

I am trying to send the newsletter to the subscribers in Magento 1 but the newsletter is not sent I applied all the process for sending a newsletter but it doesn't send.
1
vote
0answers
18 views

Magento 1.x Custom Module - get wrong Frontend Url

I have Mage 1.9 with my custom module installed. I have checked that the function Mage::getUrl('mymodule/api/users/1'); return wrong url with admin path. We also use a custom path for the admin ...
0
votes
2answers
21 views

show regular and special price separately

I'm trying to separate normal price and special price on my catalog/product/view.phtml page. I want to display them like this: Retail Price: £5.99 Trade Price: £4.09 It's currently set up like ...
0
votes
0answers
13 views

Quick create form for simple on configurable products

I have a custom attribute for mpn codes at simple products. I need to add this attribute to quick simple form at configurable products With a search i see that this is controlled by ...
1
vote
0answers
21 views

Magento user permission unchecked on save custom module

I've developed a small custom module. It worked as expected but I can't save user permission: I can see the module in the admin panel and in the Role Resource Tab (System->Permissions->Roles), but ...
1
vote
0answers
19 views

Can't update products in Magento 1.9

When I try to update a product nothing happens and I got the following messages in logs: 2019-05-16T07:19:30+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given in ...
0
votes
0answers
13 views

How to add Payment method information in Gift message in Transactional email?

We want to add payment method information in to Gift message section in transactional mail. Any one help me for set this in my magento 1.9 site.
0
votes
0answers
9 views

Magento 1.9 Diskspace Auto Filling

i'm using Magento 1.9 on 1and1 host, i'm afraid everything work smooth, but suddenly admin login, and checkout feature stop working, but i have resolved these issue by clear some hosting space that ...
0
votes
0answers
8 views

Repeated rows value in csv

i have created custom php script to get order csv. i am getting order detail with item which is coming fine now but if i have 2 item in 1 order id its create 2 rows with repated detail in remaing ...
0
votes
0answers
15 views

SQL query not working (cancelled/approved orders)

I've been trying without success to obtain all the orders that were approved (not all lines must be approved to be considered an approved order) and orders that were COMPLETELY cancelled given the ...
-1
votes
1answer
33 views

Make small design changes on store view

I'm trying to make a few small design changes in my second store view. I was wondering if there is an easy way to do this - without duplicating the theme or stylesheets, example: I want to change the ...
0
votes
0answers
11 views

Generating Csv with order item

i have created csv of order item and i am getting row like this now how i create rows in csv 2 rows if 2 item in order Array ( [0] => 2017-01-09 09:59:31 [1] => pending [2] => ...
1
vote
0answers
8 views

Import Order Csv With Items detail

I am creating order CSV file which is creating fine now I added item detail in order and show column in my CSV now I want if order has 2 items then 2 row creates in 1st row master column field like ...
1
vote
0answers
18 views

Get Current Category for Home Page [closed]

Mage::registry('current_category')->getId(); This is not working for homepage . This it returns null. for this in Home page. (Not home Category).
1
vote
1answer
19 views

Exclusion Order Status

i am getting order from magento using this query which is fine $orders = Mage::getModel('sales/order')->getCollection() ->addAttributeToFilter('created_at', array('from'=>$fromDate, 'to'...
2
votes
1answer
29 views

Blank page showing. Magento 1.9

<?php ini_set('max_execution_time', 93600); ini_set('memory_limit', '4096M'); require str_replace('importers', '', dirname(__FILE__)) . 'app/Mage.php'; error_reporting(E_ALL); ini_set('...
0
votes
3answers
26 views

Magento1 Get Item Details From Order Collection

in magento 1.9 i am working on order collection i am getting order collection successfully using below code now i want to get item details from order how i can get this .i am using this collection $...
3
votes
1answer
20 views

Magento Phishing Attempt

I got a suspicious email which looked pretty legit today and wanted to share with the community and maybe people who are more security savvy than me can tell me more about this Phishing attempt. ...
0
votes
0answers
15 views

Magento 1 Observer not overriding core observer

I am trying to override a core observer, but nothing I have tried has worked. I am trying to observe the event sales_order_save_before. Here is my config file: Location: app/code/local/DBCustom/Order/...
0
votes
0answers
5 views

Magento 1: Creating new StoreName: (new) root category not in the selection options

So we have created a new root category. anchor=yes, active=yes, title/name entered, added some products then save. Then we create a new webstore under an existing website website ...
0
votes
0answers
16 views

Set custom Record Count to Collection pagination in Report Grid

How we can set count of collection size before setting for the grid. Main Sales collection: $collection=Mage::getModel('sales/order')->getCollection() ->addAttributeToFilter('created_at', ...
0
votes
1answer
14 views

How to enable Flat Rate Shipping Method Only for Selected Products?

How to do the Flat Rate Shipping Method only for selected products.
0
votes
0answers
7 views

How to send custom form total value to CCAvenue Payment Page?

I have form which is get details form customer and also calculate amount of the product, how can i pass total value which is get form and pass to CCAvenue payment page. My form : <html> &...
1
vote
0answers
14 views

Order tracking, different url based on selected carrier

I have added tracking link to default carrier by adding the following code to [mytheme]/template/email/order/shipment/track.phtml <?php $i=0; foreach ($_shipment->getAllTracks() as $_item): $i++...
0
votes
0answers
9 views

Unknown database error. but credentials are correct in local.xml

I downloaded a magento v1.9 site from a live server and trying to make it work on local I have not created the original magento site I checked the credentials in the local.xml file and they are ...
2
votes
2answers
49 views
+100

Magento 1.9 skip payment method step when grandtotal is zero

I want to skip payment method step when Grandtotal is zero Any help would be appreciated. Thanks!!
1
vote
2answers
28 views

getting 404 on system configuration

I am using Magento 1 to create a system configuration left menu is created successfully but when I click on that getting 404. what I have tried Re-logging into the dashboard. Using ACL. Clearing var/...
0
votes
0answers
8 views

SOAP-ERROR: Encoding: string '\\x85…' is not a valid utf-8 string in app\\code\\core\\Mage\\Usa\\Model\\Shipping\\Carrier\\Fedex.php on line 409

I get the following error when I try to set the shipping method in when placing an order in the front end of my magento shop. SOAP-ERROR: Encoding: string '\\x85...' is not a valid utf-8 string in ...
0
votes
0answers
10 views

divide existing configurable Products

Its a bit of a complicated Situation at a Clients Magento (1.9) Store. Products are generated programmatically by an Interface to a bigger Managementsystem for Goods. Most Products are Clothes with ...
0
votes
1answer
15 views

Dynamic show/hide of data fields in adminhtml form [magento 1.9]

I am implementing one module. I have form fields like $fieldset->addField( 'date_enabled', 'select', array( 'label' => Mage::helper('slider')->__('Use Date ...
0
votes
1answer
8 views

How can I erase the “also please add” text in this website

I'm trying to edit the home page of this website and until now I have been able to find most of the .phtml files but I haven't been able to find the file or menu that has this text at the end of the ...
1
vote
0answers
21 views

Display record count in custom report on the basis of row count. Magento 1.9 custom report

In my Custom Report. I have created a collection which count is 25. But After this I have applied some joins on that by another collection. but on which I have made join is returning 25 records. ...
0
votes
0answers
7 views

Adding a background color to 'only x left'

I would like to highlight the "Only X Left" information in on the product page. I would like to have a font background color in black and white font. How can I make that change? Many Thanks Using ...
1
vote
0answers
7 views

Magento 1.9 Colour Swatch handling code -

Please can someone help me with some PHP code: Our magento server hosts have identified this section of code as being very resource hungry, is there an alternative route we can take? a module that ...
1
vote
1answer
16 views

Minimum quantity and increase with minimum quantity

I would like to have a product with a minimum quantity of 25 and if someone wants to order more and press on the arrow for more it needs to jump to 50, 75 etc. My product is only available per 25. ...
0
votes
3answers
25 views

Count of Customers with 0 Order magento 1.9

I want customers having 0 orders and there count I have done for order count of each customer but I want count of customer having 0 orders $CustomersCollection = Mage::getModel('customer/customer')->...
0
votes
0answers
16 views

How to filter a customer boolean attribute on the admin invoice grid(Magento 1.9)?

I can successfully display a Yes or No for my customer boolean attribute on the admin invoice grid using the following code. Here's the collection setup: $entityType = 'customer'; $attributeCode = '...
0
votes
1answer
32 views

Magento 1.9.4 using PHP 7.3.5

Can Magento 1.9.4 run using PHP 7.3.5? I have seen a number of Stack Exchange posts to the contrary and some supporting it. I have PHP 7.3.5 installed on the server but how (if possible) do I tell ...