Questions tagged [magento-1.9]

Magento Community version 1.9

Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

Magento 1.9 :- Add to Cart Helper - not working

I've been trying to fix a problem on an inherited Magento 1.9.1 site - the problem is coming from a custom category page I think. The template is using the Add to Cart Helper - in what appears to be ...
0
votes
0answers
23 views

Magento 1.9 : When i add custom options, price show 1

I have a product that has multiple prices When I do not set the custom option, for example, 1400 will be displayed But when I customize the option, the 1400 number becomes 1 But in the basket ...
0
votes
2answers
54 views

How to remove handling fees if customer select pick from store?

I am using extra fees extension, if customer choose shipping method : Pick from store how to remove Handling fees(extra fees extension). What event used to check if customer chooses to pick from ...
2
votes
1answer
3k views

Rest API with Magento using PHP with example.

I am new to Magento and want to know how to write Rest web services with PHP. Please suggest me with any material or example with full explanation because i gone through many, but couldn't find a good ...
1
vote
1answer
459 views

Transactional email not translated for programmatically created invoice, shipping

Order emails are correct, but my invoice and shipping emails are not fully translated. Some fields are correct: billing/shipping address titles payment method title But some get not translated: ...
3
votes
1answer
2k views

Newsletter subscription at the checkout review

Expected functionality: user checks the "Subscribe" checkbox in the OnePage Checkout's review step and is subscribed to the newsletter. So far I have managed to target the right event (after ...
0
votes
1answer
616 views

Round price before apply any catalog price rules to it

I've been struggling with a rounding issue lately. We have a product at 40.65. With a tax of 23% it gets up to 49.99 and rounding that up it goes to 50. Now i want to apply some price rules. A rule ...
0
votes
0answers
4 views

Get data from controller to phtml or block in magento 1.x

I using ajax send data from phtml to controller. My problem is that, I can't pass the data from controller to phtml template. Mage::register('some_name', $data); //set on controller $my_var = Mage:...
1
vote
0answers
10 views

Magento creates new eav attribute values instead of updating existing ones

I am facing a bad maintained Magento 1.9.1.1 installation and saw in the catalog_category_entity_text table many duplicate entries. The duplicates have the same attribute_id, entity_id, and store_id ...
1
vote
2answers
591 views

Can't Get Custom Module/Block To Work

I am very close probably just an XML mistake somewhere. Please assist. I'm making a custom module. The directory structure: In /var/www/html/magento/app/code/mine/MINE -etc --config.xml -Catalog --...
14
votes
2answers
44k views

call static block in view.phtml insted of phtml file

we are displaying text field in view page to check COD availability. view.phtml echo $this->getLayout()->createBlock('core/template')->setTemplate('checkdelivery/checkdelivery.phtml')->...
2
votes
4answers
1k views

Add Qty to Product before adding to cart

I am looking for an event observer which is suitable for my requirment. My requirment is i add to cart the product but qty i want to add to this cart will be decided by the product attribute. I will ...
2
votes
1answer
2k views

Magento tax_class_id not importing

I want to import bulk products using csv template in Magento. I am unable to import a column tax_class_id. I have given the value as eg: MA001234. The datatype used in backend is 'int'.
0
votes
0answers
12 views

Custom option once across x quantity

I am having trouble with a little problem: I would like to add an extra charge of x amount if customer wants personalisation. There is also a minimum order quantity of 2 packs. Now, I have ...
0
votes
1answer
24 views

Send data from controller to phtml in Magento 1

Send data from controller to Phtml in Magento 1. I use ajax send data from phtml to controller and handle it. After processing, I want to send the data back to phtml. And put it on <option value ...
0
votes
2answers
1k views

Cart page sub total label

Using Magento 1.9.2.2 I want to change Sub Total Label(Just label) everywhere... I found that it's coming from app/design/frontend/base/default/template/tax/checkout/subtotal.phtml From this ...
0
votes
0answers
27 views

How to apply magento default function to third party application?

I am using this extension for extra fees collect from customer. This extension done with shopping cart pricing rule. Here i need to apply my condition. My condition : If shipping method is flate ...
4
votes
1answer
3k views

Display Out of Stock Configuration not working in magento1.9

I have a configurable product with 3 simple products associated to it that were added via REST. I have set the "Display Out of Stock Products" option in System->Configuration->Inventory to "Yes" ...
0
votes
0answers
31 views

How can I modify default Magento Form Value?

I want to modify the value of the Associate Website options in Customer > Manage Customers > Add a New Customer. The default value of Associate Website option is 'Admin' but I want to set to Main ...
0
votes
1answer
30 views

Remove payonline & cash on delivery option if we checkout for wholesale magento 1.9

I have try to do remove pay online & cash on delivery option if we sign in for wholesale Magento 1.9.4.0 thanks
1
vote
3answers
31 views

Get data of custom table error in magento 1

I want to get data of the custom table, this is my code $address = Mage::getModel ( 'shippingaddresses/shippingaddresses' )->getCollection()->addFieldToSelect('*')->addFieldToFilter( ...
0
votes
1answer
46 views

How to get the name of the triggered event? [on hold]

How to self check what event i am using, my event : <checkout_cart_product_add_after> how to print, i tried : $event = $observer->getEvent()->getName(); Mage::log($event, null, '...
0
votes
1answer
32 views

Errror: Invalid API key or password - Eway Payment gateway - Magento

I have integrated the eway payment gateway in Luma default magento 2 theme. When I try to make the order than it show me error like "Invalid API key or password". I am sure the API details is perfect....
1
vote
1answer
1k views

Include Toolbar Pager in custom product collection in custom page

I have a custom page where I am listing the custom product collection. I am using the default catalog/product/list.phtml as template to display the page. It's listing fine like the category page. But ...
1
vote
2answers
1k views

Product List - Configurable swatchs don't update price

I have a configurable product with a size attribute that I am showing in the products list and in the product page and depending on the size of the product, the image and the price is changed. But I ...
0
votes
1answer
14 views

CMS page with referer URL parameter

I have a customised CMS page which includes a login form, I have code that lets me grab the referrer url parameter which works fine when testing in pure php. However when putting this live I ...
2
votes
1answer
2k views

Custom Category Image Attribute Preview

I've created a custom image attribute for the category. The image will be saved in media/catalog/category/example location. When I upload the image, preview showing as a broken image even though ...
1
vote
1answer
703 views

Currency Symbol is not showing

In my Magento website it does not show the currency symbol next to the price, but this only happens when I click on a product to see the details of it. Otherwise it shows. Magento ver 1.9 link to ...
3
votes
2answers
2k views

Magento event after filling checkout shipping address

Which magento event gets triggered after filling shipping address on checkout one page as I need to pass some information to a third party api just after shipping address.
0
votes
1answer
787 views

Magento 1.9 Order Rest API Order Data

Using magento rest API i can see the data of product, category etc using https://magentohost/api/rest/products, Here is can see list of products but when i access https://magentohost/api/rest/orders ...
3
votes
1answer
3k views

How to add mage_captcha on newsletter form in magento 1.9

I just want to know how can I add captcha on mage_newsletter on each page of site. Here my .xml code block for view captcha <block type="core/text_list" name="form.additional.info"> &...
0
votes
1answer
652 views

Magento products collection change reload category page

I am tring to change product collection using catalog_product_collection_load_before. I need to sort products by in stock. Out of stock must be last. following config.xml, <events> <...
0
votes
0answers
9 views

Magento 1.x : How can I get the Parent product name in 1 go from child product object?

Magento 1.x : How can I get the Parent product name in 1 go from child product object? I have the child product in object. I would like to know what the fastest and less load time is to achoieve the ...
3
votes
1answer
1k views

Magento NGINX allow IP/deny all for downloader folder

I'm having a problem allowing my IP address access to the downloader folder when using nginx to deny all other IP's. Any ideas where I'm going wrong with the below? I've tried with my IPv4 and IPv6 ...
3
votes
1answer
3k views

How To Increase frontend session timeout to 10 day In Magento

I am trying to increase session time out limit to 10 days in magento for non logged in customer but it is expiring before may be witthin 1 days. I went to System->Configuration->Web->Session ...
2
votes
1answer
1k views

Dynamically updating the sku on the product page of a configurable product based on selected options

I've successfully got the attributes to update dynamically for the SKU on the product page based on the simple product selected (through help found on the web). I'm now trying to apply this logic to ...
0
votes
2answers
28 views

What are getResponse, getRequest functions? (Bonus: explanation of getUrl)

I don't understand getResponse and getRequest functions of the Mage_Core_Controller_Varien_Action class. EDIT: See below an explanation of getUrl function! Thanks!
0
votes
1answer
605 views

Magento v. 1.9.2.4 - MYSQL Table core_email_queue still empty after Updates

got a strange Problem here in my Magento Installation. My Cron Job is running with AOE_scheduler - works fine. Cron Job is running. Screenshot: My MYSQL Table is still empty - no e-mails where send ...
0
votes
0answers
26 views

Controller Function called twice in exact same time

This is very strange. I have a log of my custom controller called. On one occasion the action was called twice. The more strange thing is log time is exact same. 2019-08-14T05:16:26+00:00 DEBUG (7):...
5
votes
1answer
17k views

Call Custom phtml file in static block

In my theme package i create a custom.phtml file in theme_name/default/template/custom/custom.phtml , i want to call this file in static block i try this method : {{block type="core/template" ...
0
votes
1answer
1k views

One page checkout continue button not working both guest and registered

I'm getting the following javaScript error on the checkout page: js.js:667 Uncaught TypeError: element.dispatchEvent is not a function At first I thought conflict but I'm pretty sure the order of ...
6
votes
2answers
995 views

Product created programmatically unable to add to cart in magento 1.9.2?? It gives error “The product could not be found.”

public function createcustomerproduct($data) { Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $product = Mage::getModel('catalog/product'); try { $...
1
vote
1answer
990 views

PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument)

PayPal gateway has rejected my request. It gives me following error: Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for ...
0
votes
0answers
11 views

What do I have to do to make my Magento 1 and Magento 2 stores PSD2 Compliant?

I see inconsistent information regarding Magento and PSD2 Compliance and an implementation date of September 14, 2019. What steps, if any, can be taken to make my Magento 1 store compliant? Is this ...
0
votes
1answer
890 views

Display Dynamic SKU on configurable product view Magento using Image Swatch

I've used the code from the answer in this thread: https://stackoverflow.com/questions/13444995/display-dynamic-sku-on-configurable-product-view-magento It works great when I'm using the drop down ...
0
votes
0answers
9 views

Magento 1.9 Cookie is too large

I am working on a fix to a website in the company that I work, and we got a report from one of the users that the site was taking too long to process things and was told that they got a message saying ...
1
vote
1answer
1k views

Checkout option of Ajax Cart Popup does not redirect to one step checkout

I am using Ajax Cart Popup http://www.magentocommerce.com/magento-connect/ajax-cart-popup.html And One step checkout extensions. But when I click on check out button in popup cart, it redirects me to ...
1
vote
0answers
161 views

Request Header Or Cookie Too Large

I am getting Request Header Or Cookie Too Large error on firefox on login and checkout pages but on chrome its working fine. I know that it can be fixed by removing cookies for that particular website ...
0
votes
0answers
18 views

Magento 1.9: Calculate dates except Saturdays and Sundays in magento?

How can I calculate dates except Saturdays and Sundays in magento? For example, I place an order on Friday, August 9, 2019, and the date I check is Monday, August 12, 2019. I want to check if after 3 ...
0
votes
0answers
21 views

Get child block is not working in magento 1.x

My layout <returnofdisplays_index_index> <update handle="customer_account"/> <reference name="content"> <block type="returnofdisplays/grid" name="...