Questions tagged [magento-1.7]

Magento Community version 1.7

441 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
1k views

Magento 1.7 : Custom Option Validation Dependent on another Custom Option

I need help to apply validation on custom option, that is dependent on another custom option value. Here is the image, which describes what I actually want : Please suggest, I am using Custom ...
5
votes
2answers
4k views

Remove and recreate custom option programatically on product before save event

I m creating custom option programatically using observer with catalog_product_save_before event.Custom option created successfully on product save.but the problem is whenever product save second time ...
3
votes
0answers
24 views

Is enabling Magento 1.7 compilation worthwhile?

I'm trying to speed up my Magento 1.7 installation until we can migrate it over to 2.3. One of the recommendations I've seen is to enable Magento Compilation i.e here. However, on SO I saw that it isn'...
3
votes
3answers
844 views

How to create a table in the database in Magento using install script

I am new to Magento, and I am trying to create a table in the database using an install script. THE WEB SITE IS HOSTED. I followed few tutorials, and they all look same. I followed every step, but ...
3
votes
3answers
1k views

Product Stock List using SOAP API

I am using following code to get the stock detail I am getting product stock of productId 149428 $proxy = new SoapClient('http://yourstore.com/api/?wsdl'); $sessionId = $proxy->login('apiuser', '...
3
votes
1answer
438 views

How to log 404 or undefined url's path information in magento?

I want to log all urls which redirects to 404, for this I extended Mage_Cms_IndexController's noRoute action, here I can log all urls by Mage::log(Mage::helper('core/url')->getCurrentUrl()); Now ...
3
votes
1answer
66 views

Set custom shipping method for selected product only

I want to create a new custom shipping method which will be my own delivery method. I would like to show this shipping method for some of the selected products only. Is this possible to do? Currently, ...
3
votes
0answers
431 views

Shopping cart price rule not applying when creating order by REST Api

I'm working with Magento CE 1.7.0.2. I create order by sending REST Api request (working fine) but when I'm adding coupon code to my XML (or JSON) request, the discount is not applying and the amounts ...
3
votes
0answers
75 views

Product ordered but was out of stock

I'm using Magento 1.7.0.2 and have configured my store not to allow backorders, but for some reason some products are ordered having the stock at 0. I'm using Paypal for the payment process. Catalog ...
3
votes
1answer
184 views

“Encryption” Class Not Found When Downgrading From EE to CE

I have followed the tutorial on blog.yanted.com and everything seems to be working except for I can not sign in the front or backend. I have copied app/code/core/Enterprise/Pci/Model/Encryption.php to ...
3
votes
1answer
2k views

Edit New and Sale labels on products

I am really struggling to find the file I need to edit to change the text for new and sale labels on products. I'm referring to the labels that appear on products when you set the new date range or ...
3
votes
2answers
887 views

Magento showing Price Difference in configurable Products

I have a Magento website where I have set up many configurable products with the different price. There configurable options drop-down shows its associated products with the price difference. While I ...
3
votes
1answer
67 views

How to handle a timeframe in which checkouts are not possible?

Our Magento is attached to a second database which is responsible for commodities management. Now this second database is quite strange as it developed over years and one of the strange things is that ...
3
votes
0answers
407 views

Cart Product Update using API (SOAP v1) only updates quantity but not subtotal or total?

I can successfully add a product in cart and then check the cart.info to verify it. However, if I update any product in cart, only quantity is changed but the rowtotal, subtotal remains same Added a ...
2
votes
0answers
15 views

Adding string to firstname for certain storeview in checkout?

I am running Magento 1.7.0.2 and I want to add a string to the firstname and lastname in the checkout. My template is template/persistent/checkout/onepage/billing.phtml. The code there which seems to ...
2
votes
1answer
294 views

How to create duplicate new quote from old order quote Magento 1.7?

I want to create a new order programmatically by copying an existing order's quote. Here is what I have tried: <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); ...
2
votes
0answers
22 views

magmi - not able to import/assign product to there categories

I am trying to import products via magmi all the other attributes are imported , but I am not able to assign those products to there categories. (I have already enabled On the fly category creator/...
2
votes
0answers
68 views

Magento 1.7 OnepageCheckout SaveBilling returns 200 -> nothing happens

When I click on the continue button inside the billing section, the tiny loading icon appears and a request is triggered. It returns 200 with an empty response. But then... nothing happens and there ...
2
votes
1answer
58 views

Adding Descriptions to UPS Methods?

I'm trying to output a description below each UPS method that appears on the list of available methods but can't seem to do it without the UPS module bugging out! Currently in my alternative shipping ...
2
votes
0answers
25 views

Order notes being populated by previous orders

In our Magento 1.7.0.2 store we have noticed a few orders where backend notes from the same customer's previous orders are being populated for their new orders. This is only happening for customers ...
2
votes
0answers
17 views

Ajax doesnt work when Compilation Enabled

I figured that Ajax add to cart doesnt work when Compilation is enabled. As well /admin page oftentimes is blank if I open it in a new browser. The moment I DISABLE compilation, everything works ...
2
votes
0answers
113 views

Javascript load order

I need to load some JS libraries the last of all. I used to achieve this using data-group param, like this: <?xml version="1.0"?> <layout version="0.1.0"> <default> <...
2
votes
1answer
1k views

$_FILES array is empty while uploading product image in Magento 1.7 admin

I am getting error $_FILES array is empty while trying to upload an product image in magento 1.7 backend. 2 days ago I installed patches from 5344 to 8788. How can I rid off this problem. please ...
2
votes
1answer
49 views

Remove product images via script

I want to delete all images from a few products via script. Here is what I got: $mediaApi = Mage::getModel("catalog/product_attribute_media_api"); $items = $mediaApi->items($product->getId()); ...
2
votes
0answers
124 views

Image upload - JavaScript error TypeError: this.elements.container is null

I've looked through several posts and haven't found anything that has worked. This is a Magento 1.7.0.2 install. Has had all patches. The problem is that when I browse for and select an image file to ...
2
votes
0answers
306 views

How to set discount amount in items ordered in magento?

I set a discount of 20$ in products. I displayed it in Invoice details. But could not display it in Items to invoice. how can I display it in Items to invoice in admin panel? Here is my code: <?...
2
votes
3answers
100 views

how to hide element in specific page

I have an element in header.phtml that shows in every page but I want to hide it in specific pages like categories and products. <ul id=tempMenu> <li>...</li> </ul> and the ...
2
votes
1answer
198 views

Programmatically get all products which price greater than 15000INR and assign to category in Admin panel

I have to get all products which price is greater than 15000INR and assign those products into specific category in Admin panel programmatically. Looking forward this answer.
2
votes
0answers
110 views

How to always get the attribute label from “default store”?

I'm trying to improve an extension. Currently it returns attribute labels from the store that the item was purchased, but I need it to always return the labels from the default store. This is a ...
2
votes
0answers
155 views

How can I split order based on the vendor?

I want to split the order based on the vendor selling the item. I have created a custom attribute sold_by in the the product details page. The order should be split on the basis of the said attribute....
2
votes
0answers
90 views

Turpentine Varnish + {{form_key_esi_placeholder}} not replaced in URLs

I've configured Turpentine Varnish Cache and set all required settings . After then checking with Unsecured path () . When I am going to press "Add to Cart" Button then cart bucket not updated with ...
2
votes
1answer
159 views

Security patch 5994 (admin disclosure) not installed (magereport)

I am install Security patch 5994 and it install successfully but in magereport they say Security patch 5994 (admin disclosure) not installed applied.patches.list 2016-12-09 05:49:57 UTC | SUPEE-...
2
votes
1answer
452 views

Short Description / Description field, import Custom Attribute field

Example: A product has a custom attribute called "wheel_size_1mm" where I choose from a drop down the size of the wheel. Is there an html code or similar I can use in "Description" / "Short ...
2
votes
0answers
34 views

Free product when 2 of a certain brand are purchased (no limit on discounted product)

Disclosure, i did search for an answer to before posting this question. But i am new to this also. So patience would be appreciated. I would like to do a promotion with the following parameters ...
2
votes
0answers
60 views

Category tree generating takes too much time

StackExchange! I've faced big problem with category tree generating process. I run $flat = Mage::getResourceModel('catalog/category_flat'); $categories = $flat->getCategories($parentCategoryId, 4, ...
2
votes
0answers
270 views

Magento : How to apply Percentage in Final Price with Custom options?

We can easily create custom options and add price on product price accordingly custom options. now, i have one challenge how we can apply percentage price on final price.. default magento can apply ...
2
votes
1answer
460 views

How to get customer registration form into CMS page

Is possible to create a CMS page with some content and Magento registration form .The registration form will function same as the default register form,when submitting the registration form the data ...
2
votes
0answers
65 views

Non default store_view's product attribute value is not visible on frontend (product list) if store_view 0 EAV value is missing

Scenario: A Magento 1.7 store which has NO default values at all for some product attributes (like short_description). There is no entry in catalog_product_entity_text for store_view==0. (Even NO ...
2
votes
0answers
74 views

Magento 1.7 redirecting URLs when URL rewrite table empty and non in htaccess?

Im just cleaning up my site and sorting out all the 404s in webmaster tools. To fix the 404s I was just putting in a manual 301 in the htaccess file like this. Redirect 301 /football-rebounders/spot-...
2
votes
4answers
352 views

how to display desktop theme on tablets, ipads?

I have used the following matched expression for mobile devices.. iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini Now mobile ...
2
votes
1answer
446 views

Why Mage::getBaseUrl is returning Admin Custom URL?

In Magento 1.7.0.2 I have a custom URL and path for admin. The custom path it was set up in local.xml <admin> <routers> <adminhtml> <args> <frontName> And the custom ...
2
votes
0answers
304 views

Remove SID from category filter URLs

When the user filters the products according to the size, say 34,5 the filter button creates a URL like this: (URL 1) http://www.turquoise.me/tango-women-shoes#%21___SID=U&size=29 Which is ...
2
votes
0answers
46 views

Cart not updating - Magento CE 1.7.0.2

When accessing http the cart does not update until several minutes. This is true both after add to cart which puts you on an empty cart page, or when updating or clearing the cart on the cart page. On ...
2
votes
0answers
113 views

AddattributetoFilter not working in list.phtml

Friends, I have a situation, I get the search results when I seaerch for e.g. "Sunrise", but after I get the results I want to refine it further with another ATTRIBUTE value which is a TEXT field. ...
2
votes
0answers
47 views

Add custom option into shipping details of customer at checkout

I am looking for tutorial for adding some new custom detail into shipping details. And then how to save that detail into database. I am working on magento framework and using php language. I know ...
2
votes
1answer
576 views

Allowed countries in admin panel

Does anyone know of a way in which the allowed countries can be overwritten in the phtml files of the adminhtml? We have a specific set of allowed countries on the front end, which we set using the ...
2
votes
3answers
3k views

Instagram API call on Magento frontend

I would like to add the last pics from my instagram in my Magento Frontend. I've seen the IG API and there is an Endpoint for this requeriment. Searching the web I've found examples of the call with ...
2
votes
0answers
389 views

Magento CE 1.9 Rest Api - Redirecting to Customer Account after submitting Customer Login form to generate access token?

I am getting issue while creating Magento Rest Api for Mobile Application. I have a php file containing logic to access Magento Rest Api. Whenever I am hitting the file it is redirecting to me ...
2
votes
1answer
168 views

Override Goup Price not working

I've created two product custom attribute to let admin se a starting and ending date for all group price, to let magento calculate correctly the group price only inside the date rage I've override the ...
2
votes
0answers
173 views

Filters products by manufacturers, Brands, Price etc in android

Hi I am developing magento e-commerce application in android. I want to filter products with Manufacturers, Brands, Price etc. Is this possible using magento's "catalogProductList" ksoap2 api? Below ...