Questions tagged [magento-1.9]
Magento Community version 1.9
21,512
questions
0
votes
1answer
29 views
Unique Products in Product Collection Filtered with Category Array in Magento 1.9
I have tried below 3 method but it is not giving correct products as per cateory id array.
First Way
$_productCollection = Mage::getResourceModel('catalog/product_collection')
->...
0
votes
1answer
22 views
Magento generates duplicate urls
I am new to Magento and I do not yet master the PHP language. (Magento ver. 1.9.4.2 I have a problem with the automatic generation of duplicate urls. I searched several forums but none of the ...
0
votes
1answer
27 views
How to add external JS script to product page in Magento 1.9?
I'm trying to add a JS Script for some specific products in the product detail page but I dont know how to.
I know I can edit the xml file and add scripts there... but the source of the script ...
0
votes
0answers
12 views
Magento 1.9 - Invoice grand total is coming inclusive of tax
I have added catalog prices inclusive of tax. On frontend every prices are coming correct. But when create invoice in admin panel grand total is calculating with tax amount. And after invoice created, ...
0
votes
0answers
14 views
Magento 1.9.x looking for review plugin
i am looking for a review plugin for my magento 1.9.x.
Review plugin should have an option to post without being registered
Review plugin should be possible to activate only on certain products not ...
1
vote
1answer
20 views
M1 Error when adding products to website using Mage_Catalog_Model_Product_Website addProducts($websiteIds, $productIds)
I am trying to add products to a website using addProducts($websiteIds, $productIds). I have debugged the passed data and it looks fine (see below). The error we encounter is below.
What are we doing ...
1
vote
1answer
13 views
M1 - How to set different tax class IDs on different instances of the same product in a cart based on custom options
I'm using the latest version of Magento 1.9 and I'm stuck trying to make a change. I checked all the related questions and couldn't find a solution. I figured I should see if someone can help before I ...
0
votes
0answers
17 views
Magento1.9-Json Output for Category / Product
How can with a parameter in URL eg: "http://mage.test/product1.html?jf=true", get detail from Category or Product as JSON.
The product detail page has a few custom blocks (breadcrumb ..). I ...
2
votes
1answer
55 views
Magento - Create observer that sends email
How can I write an observer that sends email which tracks an eav_attribute yes or no value?
The email get's sent, if value is set to yes.
I already created the attribute and the email template.
I only ...
1
vote
0answers
23 views
How to add schema for products in product page ? Magento 1
I am trying to create the product markup like below
<script type="application/ld+json">
{
"@type": "Product",
"@context": "http://...
0
votes
1answer
17 views
how to add phtml file in magento 1 homepage?
Which is the quickiest way to add/call a phtml file in homepage (only)
in magento 1 (custom theme) ?
I am not sure about magento 1, so any thoughts would be appreciated.
0
votes
1answer
23 views
Button click to show custom static block in popup in magento 1.9
I have a custom static block and on my CMS page, I have a button, when the user clicks the button, I need to show the static block in the popup. How can I achieve this in Magento 1.9, can anyone help ...
0
votes
1answer
34 views
Magento 1.9 How to call any api on event “sales_order_invoice_register”?
I want to call my custom API on sales_order_invoice_register event. Menas, when the invoice will generate, will call my custom API and I want to store the response in Database.
Will this kind of ...
0
votes
0answers
18 views
Magento 1.9 - Getting exception while uploading product images
When I'm trying to upload product images in backend and save, getting below exception in debug file -
'Zend_Db_Statement_Exception' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column ...
0
votes
0answers
11 views
Different currency for an price attribute
I have an issue in magento 1.9 about the "special_price" attribute currency in the backoffice.
For the packaged product, the currency of this attribute (special_price) is "THB" ...
0
votes
1answer
60 views
Warning: simplexml_load_string(): Entity: line 64: parser error : StartTag: invalid element name
I'm using magento 1.9.1.0 and getting this error while accessing the site.
Warning: simplexml_load_string(): Entity: line 64: parser error : StartTag: invalid element name in /home/**/public_html/lib/...
0
votes
1answer
30 views
Upgrade from 1.9.2.4 to 1.9.3.6 and have blank pages
I did an upgrade by installing a fresh 1.9.3.6 and then copied back my core files. Now i have a blank page and cant see any errors which make me think it is nearly there.
I looked in the server logs ...
0
votes
0answers
4 views
Magento 1.9 create configuratori graphic
on Magento 1.9 I need something simple to create a graphical configuration page. the user must be able to upload a file and work / edit graphics. The classic options resize, move, insert text and ...
0
votes
0answers
20 views
M2PRO, 1 order, 3 products, 3 shipments
M2PRO module for Magento 1, order sync and Amazon shipments.
Let's take this example, on Amazon I have this order:
Product id | Product Name | Qty
1234 | T-Shirt | 2
4567 | Jeans ...
0
votes
1answer
37 views
Magento 1 to 2 migration error, Categories failed
Using UB-Migration tool, Migrating from Magento 1 to Magento 2.
All steps were successful apart from Step 4 Categories which failed with below error, please assist.
Error received
Research: I had ...
0
votes
1answer
19 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
0answers
27 views
Magento 1.9.4.5 - Dataflow Advanced Profiles - Add Category Names to Products Export CSV File
I have been beating my head against a wall for a few days now trying to figure out a workaround to Export all of my Products. I have around 6500 products currently and trying to use the standard ...
0
votes
0answers
16 views
How can I add the filter_condition_callback argument via layout.xml instruction in Magento 1.9?
I have added a sales order grid column using the following layout.xml
<layout>
<!-- main layout definition that adds the column -->
<add_order_grid_column_handle>
<...
0
votes
1answer
13 views
What does “setOriginAddress()” does to sales order?
I have seen this function in code,
i am assuming it is used to "Set origin address for shipping rate estimation"
I am not much, its used for what purpose & why it takes/sets "System ...
0
votes
1answer
23 views
How to create an excel file of all products?
I would like to fetch all products and create an excel file with product name & sku and make it downloadable in magneto 1.9. Any one can help me.
1
vote
0answers
12 views
How magento calculate tax on product in reorder from admin ? Magento 1
How tax is calculated for products on reorder page in admin ?
I am trying to get the flow how the tax are calculated on reorder page,
I am using Avatax module, & found a bug that on reorder the ...
0
votes
0answers
11 views
Migrate data issue from 1.9.2.4 to 2.3.5-p1 - SQLSTATE[23000]: Integrity constraint violation
I am trying to migrate magento from 1.9.2.4 version to 2.3.5-p1 with data migration tool. I have migrated settings,but now I have this issue on settings migration.
SQLSTATE[23000]: Integrity ...
0
votes
0answers
11 views
Detect inventory change in magento 1.9
I need to detect whenever the inventory level of a product changes. Its only for updating the stock I've had some success using the cataloginventory_stock_item_save_after event which is triggered when ...
0
votes
0answers
6 views
Getting order items + custom product attributes and sum up by totals per product?
Magento 1.9
I want to get the sku, the name the custom attribute xyz (id = 425) and the totals purchased for each of the products found. This is what I came up with, but it seems to be running forever,...
0
votes
1answer
26 views
What's the difference between validate-phoneLax and validate-phoneStrict?
I tried using both and it seems they just validate the same way. And also, their validation codes are the same. Are there any difference between phoneStrict and phoneLax at all? Or you can just use ...
0
votes
1answer
19 views
OpenMage LTS 20.01 - Freeshipping not applying
I have 2 installs of OpenMage 20.01. Neither will apply the Freeshipping method.
I believe the issue is with app/code/core/Mage/Shipping/Model/Carrier/Freeshipping.php
if (($request->...
0
votes
1answer
22 views
Getting default billing address telephone by Mage::getModel
I want to get customers Primary Billing Address Telephone number in my module.
I use this code to get customer attributes, (email for example):
$customer = Mage::getModel('customer/customer')
...
0
votes
1answer
22 views
Get Magento 1.9 qty of child products of configurable products in list.phtml
I am trying to change the availability message in category view in the file list.phtml depend on the qty of the product. I did on the simple products but I couldn't manage to get results for the ...
0
votes
0answers
11 views
Magento - Can I move 1 storeview from storename to another storename?
Magento - Can I move 1 storeview from storename to another storename? And how can I do this without losing data?
0
votes
0answers
13 views
how to write REST API for custom collection in Magento 1.9
I want to create a REST API from MY Custom module
i have created API in Magneto 2 like this Magneto 2 API
Need a reference link of sample module from github
Thank you
0
votes
1answer
21 views
Change stock availability of products based on qty
I'm looking for a query to get all my products that have "qty > 2 and 'stock availability = 0'" and change the stock availability to 1.
A crash on my inventory update routine did a mess ...
0
votes
0answers
11 views
Stock is not updating after update the product quantity Magento 1.9?
I am facing an error in Magento 1.9. I have changed the product quantity from Magento admin panel but the stock did not update.
I have clean cache already but it still showing out of stock.
Can anyone ...
0
votes
0answers
24 views
Magento 1.9.2 Item (Mage_Catalog_Model_Product) with the same id “123” already exist?
I have a store running on Magento 1.9.2. Everything was ok until today. Yesterday I added a few products and made a few bundles and all that and now whenever I'm trying to log in this exception pops ...
0
votes
0answers
26 views
Magento 1.14 - Chrome new Update - Cookie Samesite=none issue
Our website is in Magento 1.14 enterprise edition. Some of the pages of the website are embedded in an external iframe HTML website. But, after the latest update of chrome, all the features in the ...
0
votes
0answers
10 views
Magento 1.9 - How to display upsells products in popup on add to cart click?
In Magento 1.9, when someone click on add to cart button I need to show a popup with upsells products.
I don't how to achieve this, can you help me ?
Thanks
0
votes
0answers
20 views
Getting footer and header in an external script?
Magento 1.9
I created an external script in my root folder. It contains these lines in order to work:
require '../app/Mage.php';
Mage::app();
How can I get the header and footer? Is it possible at ...
0
votes
0answers
27 views
Magento 2 Add custom field Estimate Shipping and Tax (cart page)
I'm working on one project and i wants some extra fields on cart page under estimate shipping and tax.
Hide Country field
Show State as "Province" Text
Show City as "Canton" as a ...
0
votes
0answers
9 views
Magento 1.9 Separate XML sitemap for categories and products
I am maintaining a Magento 1 store from the SEO perspective and I hope for your help. I have been looking for answers inside the forum and elsewhere. But I have found nothing, what describe clear the ...
0
votes
0answers
13 views
how re install site from a backup into a new Magento installation 1.9
I recently had to reset my hosting and re-install magento 1.9 to run my site
I've uploaded my site from an offline back up but it's not showing up
my best guess is that it's about the new installation'...
0
votes
1answer
12 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
1answer
26 views
Find all SKU products with tier price?
I want to compare products with tier prices from two databases. From database Magento 1 and Magento 2. Compare them to generate a list of products from Magento 1 that do not have tier prices in ...
0
votes
0answers
8 views
Uncaught Error: Class 'Mage_Prefiz_Pickzen_Helper_Data' not found
I am magento 2 developer working on backend
I got a task in M1 and it's totally new to Me
I was trying to add a field in system.xml and getting an error
I have created code/community/Prefiz/Pickzen/...
0
votes
0answers
12 views
Magento 1 weird calculation with multiple shopping cart price rules
I'm trying to wrap my head around this.
We have to Shopping cart price rules, one without a discount code and one with.
The one without a discount code is set up as follow:
- If ALL of these ...
0
votes
0answers
16 views
php -f bin/magento customer:hash:upgrade not working in magento 2.3.3
After migration from magento 1 to magento 2, I ran this command but it is not working. I am not able to login with customers passwords. Why the command is not working?
0
votes
1answer
30 views
Fatal Error : Uncaught Error: Call to a member function getPdf()
I am getting the following error
Fatal error: Uncaught Error: Call to a member function getPdf() on
bool in
/var/www/html/app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php:119
Stack trace: #0
...