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
730 views

Magento : Which Event Observer Used For “Move to Shopping Cart” in Admin

I want to know which event observer is used in admin while do following. Step for better understanding (Do from admin). Create a new order Add a product to the order Select "Move to shipping cart" ...
0
votes
1answer
630 views

In Magento 1 Sales menu add custom created sub-menu

In Magento 1 Sales menu list add one new sub-menu same as order or invoice. Any one can create this type of extension?
45
votes
16answers
11k views

Security Patch SUPEE-10570 - Possible issues?

Magento has released a new security patch for M1, and updates for M1 and M2. What issues should I look out for when upgrading or applying this patch? SUPEE-10570 SUPEE-10570, Magento Commerce 1....
0
votes
2answers
66 views

Retrieve Admin product grid columns from an helper

I would like to get all the columns infos of the product grid columns from my own helper. I tried (among others) with the following code : Mage::getDesign()->setArea(Mage_Core_Model_App_Area::...
1
vote
1answer
179 views

Magento 1 datepicker issue selecting date for current month

This is my js code for my datepicker: Calendar.setup({ inputField : 'scheduled_ajax_update', ifFormat : '%d-%m-%Y', button : 'scheduled_ajax_update_trig', align : '...
0
votes
1answer
188 views

Payment Module not showing in Checkout - Magento 1

My Custom Payment no showing at the checkout. Help, please! Life or death issue. My code: app\code\local\FITeND\DuplicatePayment\Block\Form\DuplicatePayment.php class ...
0
votes
1answer
29 views

Magento 1x Sales Order Grid Source

Using magento 1.x I have changed the source of my sales_order grid form sales/order_grid_collection to sales/order_grid_collection protected function _getCollectionClass() { return 'sales/...
0
votes
1answer
703 views

Load all gallery images in category on hover (Ajax)

I have a code to load all the gallery images of a product in category, it will work but the problem is that will load ALL gallery images for products in the category (list.phtml) so will increase ...
1
vote
1answer
34 views

Overwrite community model method issue in Magento 1

This is my config xml from my custom module: <models> <emailtester> <rewrite> <variable>Mynamespace_Mymodule_Model_Mailer_Variable</variable> ...
0
votes
2answers
43 views

Category & Product Page detection

I am using the below on my 2columns-left.phtml template to detect whether the page is a category page or a product page. <?php $_catDetails = Mage::registry('current_category') ?> <?php ...
0
votes
1answer
77 views

How to group the products to their respective category in cart page?

I want the cart page to be like the added products like apple, orange etc into fruits category and fish into fresh fish category. How can i group them accordingly in the cart page ? For example: Cart ...
0
votes
1answer
129 views

Ajax Cart showing configurable product image instead of simple product

I am using ajax cart and minicart shows configurable image instead of simple image. Already Set Product Thumbnail in Stores -> Configuration -> Sales -> Checkout -> Shopping Cart -> ...
0
votes
2answers
36 views

I need to change the wording on my Login page but cant find it?

I need to change the wording on my Login page but cant find it? It has its own top heading. The top choices are Account, Login and Signup. I can find the Signup page but not Account or Login. www....
0
votes
1answer
50 views

Cms block custom field

i add Mobile Status below is my code for cms block section it show out form section and i want to move it after status dropdown protected function _prepareForm() { $model = Mage::registry('...
0
votes
1answer
42 views

Block admin submenu not showing

This is a screenshot of my Magento Admin Panel in my image is a block not showing. Is there any way to solve this issue. Magento 1.9.0.1
0
votes
1answer
281 views

Magento 1 : Cms Block collection

$collection = Mage::getModel('cms/block')->getCollection(); The above collection brings cms block table fields. How to add filter in these collections.
2
votes
1answer
3k views

What is “Phoenix/Moneybookers” module for?

Is there any special reason that there is one module installed in community folder by default? app\code\community\Phoenix\Moneybookers Just found one line in Mage_Adminhtml_Helper_Help_Mapping $...
0
votes
1answer
170 views

Specifying order for “Special” products widget in the homepage

I have an installation of Magento 1.9, where I have set a widget as "Catalog Sale Prduct List". This can be just done on: CMS->Widgets->Add New Widget Instance And then, assigning the type Catalog ...
0
votes
1answer
30 views

Error when creating downloadable product

When i try to create a downloadable product,i face the below issue when trying to upload the music file(<2mb).I'm new to magento.Someone pls help..
0
votes
3answers
156 views

Cronjob function is not executed

I have created a custom module and set a cronjob, like this: Mymodule/Sales/etc/config.xml <crontab> <jobs> <mymodule_sales_synch_orders> <schedule> ...
0
votes
1answer
31 views

how to migrate magento 1.9.2 site to a newly installed magento 1.9.2

I have a site in magento 1.9.2 and I am unable to access it's admin panel after spending 3 days, so I decided to make a new directory of magento and then migrate the old site to the new install. So I ...
2
votes
1answer
154 views

How can I remove a quote item from an observer from adminpanel in Magento 1?

I want to remove some items if I am pressing the reorder button from adminpanel. I'm using this event: controller_action_postdispatch_adminhtml_sales_order_create_reorder and this is my method from ...
0
votes
2answers
87 views

Check if product got CustomLinkedProducts on view.phtml

I use the following extension: https://github.com/Marko-M/Inchoo_CustomLinkedProducts But now I want to check in the file /app/design/frontend/theme/theme/template/catalog/product/view.phtml if the ...
2
votes
1answer
102 views

What is mage in magento ,,explain following and also list all these kind of function or model used in magento

And also explain following function: Mage::getModel('catalog/product'); load(); $category = Mage::getModel('catalog/category'); $category->load($categoryid); $collection = $category->...
1
vote
1answer
27 views

Traslating custom string issue in Magento 1

I am trying to translate the street addresses in my local csv file from my theme. I would like to translate the shipping/billing address from checkout. For the billing address, this part is working "...
0
votes
1answer
103 views

Including static blocks in a product description

I'm trying to follow this article by Marius so that I can use {{block}} calls in a product description, as many of our products have the same detailed product description, with some minor capacity ...
1
vote
0answers
56 views

Call a custom phtml file to particular section Magento ver 1.6 to 1.9

I created a custom module (For Magento ver 1.6 to ver 1.9 ) in which i show custom phtml file and insert custom js and css as well, I included it to two pages only with particular section i.e footer ...
1
vote
2answers
46 views

Magento 1.x - When does magento add the maintenace.flag file to the root of the setup

Out of the sudden my Magento webshop showed the 503 maintenance page. There are multiple users who can access the admin of the webshop, so it could be possible someone accidentally turned it on. But ...
0
votes
4answers
1k views

What are the difference between magento 1 and magento 2 databases? [closed]

I want to know what are the difference between a magento 1 and a magento 2 database table? Are there any changes in table names ?
3
votes
2answers
773 views

How can I get collection result “column headers” or “column names” in Magento 1.9x?

How can I get collection result "column headers" or "column names" from query? Suppose I have $data = Mage::getModel('catalog/product')->getCollection(); and I have some joins with other tables I ...
2
votes
1answer
211 views

Data upgrade data doesn't work in Magento 1

This is my upgrade script: //mynamespace/mymodule/data/upgrade-1.0.0-1.0.1.php $eavAttributes = [ [ 'entity_type_id' => '12', 'attribute_code' => 'reason_contact', '...
2
votes
1answer
106 views

Translating strings from phtml file loaded in a trans emails in Magento 1 issue

I am loading some content from a phtml file, like: {{block type='core/template' area='frontend' template='mynamespace_mymodule/adyen_reminder_items.phtml' subscriptionId=$subscriptionId orderId=$...
0
votes
1answer
238 views

adding attribute to catalog_category on store scope

I've created a custom attribute programmatically by a resource setup script: /** @var $installer Mage_Catalog_Model_Resource_Setup */ $installer->addAttribute('catalog_category', 'some_attr', ...
0
votes
1answer
232 views

Display a link if SKU exists

I'm trying to add a link to an order confirmation email. The link should only display if SKU 2133 exists. The problem when SKU 2133 exists it displays SKU 2133 does not exist. Before adding the ...
1
vote
0answers
190 views

Incorrect product count in layered navigation filter while sort using custom collection

I have an issue with layered navigation filter count. I have changed the product collection of sort, everything is working fine except the product count. Can anyone help. Toolbar.php class ...
2
votes
2answers
108 views

HTML5 form validation

In app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml we can find the following code: <?php $_product = $this->getProduct(); ?> <?php $buttonTitle = Mage::...
0
votes
2answers
638 views

Error adding product to quote: This product is currently out of stock [duplicate]

Trying to add product to a Quote and getting message that it is Out of Stock event though I set it to In Stock. I have tried several things but here is the current code: $product = Mage::getModel('...
2
votes
0answers
75 views

can't save custom attribute in order table during checkout

I've created a custom order column but when i try to populate it during checkout it doesn't save data. (Else if I edit order in backend my custom column is populated): /app/code/local/Radicis/...
1
vote
1answer
81 views

Getting wrong footer for custom transactionl email

This is my trans. email content: {{template config_path="design/email/header"}} ///custom text {{template config_path="design/email/footer"}} and Yes I checked the settings->conf->Design->trans ...
0
votes
1answer
349 views

Magento 1 | Email Template | Get Default Store name instead of current

We need to show default store name in email footer instead of current store name already used in footer template: <h5 class="closing-text">Thank you, {{var store.getFrontendName()}}!</h5> ...
1
vote
0answers
88 views

Magento 1 run dataflow profile issue

have this custom model: class Mynamespace_Mymodule_Model_Convert_Adapter_Unblock extends Mage_Dataflow_Model_Convert_Adapter_Abstract { protected $_customerModel; public function load() {...
0
votes
1answer
90 views

Translating address label issue in Magento 1

This is my string, which I would love to translate: <input type="text" placeholder="<?php echo $this->__('Street Address %s', $_i); ?>" title="<?php echo $this->quoteEscape($this-&...
1
vote
3answers
91 views

Get productimage based on SKU

I want to display the productimage, based on the SKU of the product. How can I achieve this? My currenty code in a custom module, that displays the SKU based on the following code: <?php echo $...
2
votes
1answer
67 views

How can I add some extra labels for the address in the adminpanel in M1?

I would like to add some extra labels to html code from the address , like in the image: Right after the street address I would like to add some labels. Right now I added via jQuery, but I have to ...
1
vote
0answers
137 views

Checkout Payment gateway not working with onestepcheckout in magento 1 [closed]

Checkout payment method module is working with default one-page checkout but when I am trying to use it with magestore Onestepcheckout, it's not working. Anyone have an idea about that.
1
vote
1answer
98 views

Can't login it shows fatel error [closed]

When we try to login to admin it shows fatal error. So is there any solution for this problem? Fatal error: Access to undeclared static property: Mage::$_isDeveloperMode in /home/mominaslib/...
0
votes
1answer
55 views

Where condition in the collection issue in M1

This is my collection: $blacklist = Mage::getModel('mynamespace_mymodule/customers')->getCollection() ->addFieldToFilter('store_id', $order->getStoreId()) ->...
1
vote
1answer
13 views

Which version added the core swatch for attributes support via URL hash?

The answer of this question https://magento.stackexchange.com/a/71077/61389 presented a core way to automatically select attributes values using the URL hash. We are developing a module that will ...
1
vote
1answer
156 views

Getting 302 status code when I want to add selected product to order in Magento 1

I'm getting the 302 status code in the firebug: Request URL:http://myproject.local/index.php/adminpanel/sales_order_create/loadBlock/block/search,items,shipping_method,totals,giftmessage,...
1
vote
1answer
208 views

Disable/Readonly admin options Magento 1 [duplicate]

How can I disable the size option for catalog products in Magento 1. I've searched Google and StackOverflow and I can't find a good solution. Is there someone that can help me? Thanks a lot!