Questions tagged [magento-1.9]
E-commerce PHP framework solution, which has a new responsive theme (rwd) in version 1.9
3,039
questions
0
votes
0
answers
9
views
OpenMage on php 8.1 with xstore template
I'm getting the following error :
Fatal error: Uncaught Error: Unknown named parameter $script in app/code/local/Redgiant/Rgcore/Model/Core/Layout.php:126
the line of code that gets error is:
...
1
vote
1
answer
55
views
Magento Upgrade from 1.9.4.5 to Openmage 20.x
I need to upgrade my Magento 1.9.4.5 site to Openmage 20.x
I followed the guides https://www.openmage.org/magento-lts/migration-guide.html for the migration or the guide in https://github.com/OpenMage/...
0
votes
0
answers
22
views
magento 1.9.1.0 showing error message on minicart
when I add any product by clicking the "Add to Cart" button the website redirects to the 503 error page, the error is:
"Service Unavailable
The server is temporarily unable to service ...
0
votes
0
answers
17
views
Magento 1.9 / OpenMage: Built In Mechanismm To Pre-select Bundle or Configurable Product Options
After reading this thread which appears to be discussing adding configured bundle products to the cart (using URL params), I remembered one of my clients asking me recently if it was possible for ...
0
votes
1
answer
23
views
Magento 1.9 Autherize.net CIM charges twice
We have an issue with customers getting double charged.
Today we noticed that another batch of orders was charged twice in Authorize. We don't see any sign of a second charge in the notes on Magento ...
3
votes
1
answer
66
views
<optgroup> in admin form field
I have an admin form with a few select fields declared in my _prepareForm method like the example below:
protected function _prepareForm()
{
$form = new Varien_Data_Form(array(
'id' => '...
0
votes
1
answer
44
views
Adding a custom layout to Magento 1.9
I am trying to add a custom layout to our Magento 1 platform. I followed the instructions located on this page, https://blog.magestore.com/how-to-add-new-layout-template-for-magento/ and I was ...
0
votes
1
answer
44
views
Is it possible to get a collection containing the attributes of all entities (customers, products, etc)?
I'm trying to get a collection from the table eav/attribute (where product's attributes are present along with customer's, category's, etc).
I already tried to retrieve it like a normal model ...
0
votes
0
answers
9
views
mageno1 catalog price url not working in cron or admin controller
We have a cron function to make some calculations based on finalprice.
But we are not getting the exact final price, in which catalog rules seems to be not considering.
This is working from a frontend ...
0
votes
1
answer
37
views
Magento 1.9 "Unable to list current working directory."
I am getting this error in Magento 1 - "Unable to list current working directory." while trying to forgot password in frontend after adding email and captcha. I have attach reference for ...
0
votes
0
answers
168
views
Use of undefined constant CURLPROTO_HTTP - assumed 'CURLPROTO_HTTP' (this will throw an Error in a future version of PHP)
Warning: Use of undefined constant CURLPROTO_HTTP - assumed 'CURLPROTO_HTTP' (this will throw an Error in a future version of PHP) in /var/www/html/vendor/magento/framework/ObjectManager/Factory/...
0
votes
1
answer
446
views
How to get customer id by phone number in magento 2.4 login api
I am new in magento api developement for mobile app. I have to write API code for login. This application login has no password and login by mobile phone otp verification.
During my coding, I can ...
1
vote
0
answers
316
views
Shipment Information not Showing in Magento 2.4.2 p-2
I created shipment against particular Order. but, cannot showing under shipment list. My Magento Version 2.4.2 p-2.
1
vote
0
answers
144
views
Magento 1.9 add to cart slow when cached
We have been experiencing an odd issue on some of our sites since moving from Magento 1.7 to 1.9. When a sites cache hasn't been cleared for a while add to cart is extremely slow. This also affect the ...
0
votes
0
answers
73
views
Magento 1.x custom attribute filter range
I want to do filter of products by custom attribute range (size, height), that will work like price range filter, but can't understand where i need to modify model or controller to get this working. ...
0
votes
1
answer
74
views
Send mail after 15min order completed with Php
I've created a small module in M1.9 to send an email after order completed.
There's a cron that runs every 5min and it checks interval -15 -20 min ago and if there's an order it send an email.
...
0
votes
1
answer
137
views
Magento 1.9 using wrong flat table when getting productcollection from multiple stores
I have a Magento 1.9 installation with 4 stores (2 websites with 2 stores each). For an export I need to get all products by store.
So this is what I tried:
/** @var Mage_Core_Model_Store[] */
$stores ...
0
votes
2
answers
901
views
Configurable product created programmatically doesn't show in search - Magento 1.9
I have a script that creates a configurable product and the simple products associated to it. After the creation, in the backend, all of them seems fine (stock, website, status, visibility and ...
0
votes
0
answers
92
views
Fatal Error after upgrading Magento 1.9.3.1 to PHP7
After upgrading PHP to 7.0 Magento show the following error message:
Fatal error: Uncaught TypeError: Argument 2 passed to Mage::dispatchEvent() must be of the type array, object given, called in /var/...
0
votes
2
answers
230
views
Get customer ID using Mage::getModel('customer/customer')
I not able to get the customersID am I calling it correctly with Mage::getModel
$customer = Mage::getModel('customer/customer')
->setWebsiteId(2)
->load($this->getRequest()->...
1
vote
1
answer
122
views
Magento 1.9 core seesion message vanishing on home page
I'm setting a message to core session from controller and redirect to home page
Ex -
$session = Mage::getSingleton('core/session');
$session->addError('This is test message');
$this->_redirect('/...
1
vote
1
answer
502
views
How to perform custom javascript on place order but before redirection to payment gateway in Magento 1.9?
I need to integrate my Magento with some order tracking service.
The service provider asked me to include some code on the last page of the checkout process but before a customer is redirected to the ...
0
votes
1
answer
65
views
Cart page is locking, no xml, no logs, what so ever
We experienced a strange hickup on our magento 1.9 shop.
Our cluster consists of:
Load balancer (nginx, with round robin + varnish + NFS)
Three PHP nodes to settle front and backend
Dedicated CRON ...
0
votes
1
answer
32
views
Magento 1.9 Live Website Admin Not Working
I am not able to log in to my Magento website admin. I am getting the following error.
Below is the error:
There has been an error processing your request
Invalid method Mage_Admin_Model_User::login(...
0
votes
1
answer
124
views
Reply to transactional email Magento 1
I have a question about transactional emails in Magento 1.9. The transactional email have a reply-to set to no-reply@domain.com. How can I change that to be sales@domain.com? I have the same problem ...
1
vote
1
answer
207
views
Magento 1.9 hacked. What to do?
Recently we began to experience attacks in our Magento 1.9 store. Can someone help us how to detect the entry point and how to fix it?
These are the files affected by the malware.
Files affected
The ...
0
votes
1
answer
45
views
Registered coupon does not display in report filter
I'm having a hard time generating coupon report used in Magento 1.9 accessing Reports -> Sales -> Coupons, I select a date period, order status I keep "any", empty lines = "no&...
0
votes
0
answers
25
views
loadByEmail() is not fetching customer details while using in forgotPasswordPost method in Magento 1.9?
I have tried 3 different methods but neither one of them is working. My code in the file is -
$customer = $this->_getModel('customer/customer')
->setWebsiteId(Mage::app()-&...
1
vote
0
answers
179
views
524 timeout error on aws ec2- hosted Magento1.9
I am using magento application hosted on Aws ec2 large server. and Cloudflare for security due to increasing attacks.
Everything was working fine and no changes were made but suddenly I continuously ...
1
vote
1
answer
213
views
Magento 2 admin panel working great on my Chrome browser but giving 'connection timeout error' on Firefox
Since yesterday I'm not able to open Magento 2 admin panel on my Firefox browser as I used to do. I don't remember making any changes which would cause something like this. After so much of debugging ...
1
vote
0
answers
84
views
PHP exec command not returning anything
I'm trying to run the below script from a php file but im not getting anything retuned on the command line. The code i have before and after this snippet runs fine, but with this section, I get ...
1
vote
1
answer
193
views
Open collapsed container with anchor click
I have the problem, that my closed tab won't open with an anchor click. The anchor itself is in another html file, which is included. A Click on the a-tag of the collapse works just fine and opens the ...
4
votes
0
answers
433
views
Admin Sales Order Grid Slow
i have a magento store, but im having issues with the admin sales order grid, the page sales is very slow, it takes 25 seconds for the page being completed load, and this issue is only in the sales ...
0
votes
1
answer
319
views
How to resolve Magento Admin Catalog Products Search Issue
I am using Magento 2.3.5 version and facing below issue in admin.
I have tried all the solution available on google so far. Also delete ui_bookmark entries, this solve issue for that time but again ...
0
votes
1
answer
86
views
Magento 2 Cadence Dedup The filename, directory name, or volume label syntax is incorrect
I am trying to execute the following commands in Terminal for Magento 2 found here https://www.cadence-labs.com/2017/11/magento-2-fix-duplicate-url-key-for-categories-and-products/.
cadence:urldedup:...
0
votes
1
answer
544
views
I got an error during Data migration from Magento 1.9 to Magento 2.4
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'm2loom_live.customer_entity_back' doesn't exist, query was: SELECT DISTINCT child.custome r_id FROM authorlogin_customer AS child
LEFT JOIN ...
0
votes
0
answers
143
views
Redirect all front end traffic to one page, but allow admin panel access - Magento 1.9
How do I allow staff to access the admin panel on my Magento 1.9 with redirect all other front-end traffic to a single holding page?
I got the front end redirect to work fine, but for the back end (...
0
votes
2
answers
559
views
Set Product Custom Options From Observer Magento 1.9
I am trying to add custom options to products on save. I want to add or update custom options (not additional options) on before_product save. I am able to access the observer and it is working on ...
0
votes
1
answer
39
views
Change status depends ton child products magento 1.9
I am trying to change the availability status of the configurable product depends on child products.
I found the following function
<?php
function getChildrenStockQTY($product, $...
0
votes
1
answer
49
views
Change Magento 1.9 Availability message depends on qty
I would like to change the Availability message in product page depends on qty. So far I tried a couple of methods but no change at all. One of them is :
<?php if($product_page_type == '...
0
votes
1
answer
123
views
How to programmatically get option id's and values from configurable product in phtml?
I am modifying phtml code were I have access to
$this which happens to be Mage_Checkout_Block_Cart_Item_Renderer_Configurable class
and
$_item = $this->getItem();
$_product = $_item->getProduct()...
0
votes
1
answer
136
views
Magento1 : How to Set NO Payment Method Required
I am using magento 1.9.I want to display at checkout that "No Payment method required".How to proceed checkout without Payment Method. Or i have to create custom payment method? Thanks
0
votes
1
answer
26
views
Error 500 on Wordpress (Magento Integration)
I'm using Magento 1.9 and have installed wordpress in root/blog folder. Here is how my htaccess file looks like. I see an error 500 on blog. Magento site works well though.
# BEGIN WordPress
<...
0
votes
1
answer
167
views
Load particular category by using collection
I am new to magento , now I am trying to load particular category instead of using load-> , I need to used getCollection().How I retrieve particular category collection.
0
votes
0
answers
178
views
Magento 1 Product Tag Pages and Meta Data
At Magento 1.9, I noticed that the meta description tag of the Product Tag pages is actually the text configured at field System > Configuration > GENERAL > Design > HTML Head > Default ...
0
votes
1
answer
79
views
Magento V1.9 is running in timeout after sales_flat_quote_item update in event observer
I try to save additional information (from third-party-system) to sales_flat_quote_item db in Magento V1.9.
The observer works fine.
The data which should be updated, were updated, but everytime it ...
0
votes
1
answer
506
views
Magento 1.9 - How to get final product price on add to cart?
Final Update
Apparently I just needed the pressure of posting the questions on here. On the off chance anyone else comes along with this same problem, this seems to work and covers the case of catalog ...
1
vote
0
answers
73
views
Magento 1 article stock in shopping cart - Group articles
How do I check the stock of e.g. group articles?
Everything I have tried so far:
<p class="availability">
<?php $gty = (int)Mage::getModel('cataloginventory/stock_item')->...
0
votes
1
answer
510
views
How to apply coupon code programmatically in magento 1.9 in my custom module
I have a coupon like 'DISC50'
I want to create this coupon in magento and apply this while magento cart page,how to do this?
can anyone give me sample of the exact observer event and function for this?...
1
vote
2
answers
3k
views
Magento 1.9 rest api developer documentation
I want to create rest api for magento 1.9 but I am unable to find any developer documentation for the same.
Please if some could refer me some sites so that I can refer and implement rest api's and ...