Questions tagged [magento-1.7]
Magento Community version 1.7
452
questions with no upvoted or accepted answers
5
votes
0
answers
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
2
answers
5k
views
Remove and recreate custom option programatically on product before save event
I m creating a custom option programmatically using observer with the catalog_product_save_before event.The custom option was created successfully on product save. but the problem is whenever the ...
3
votes
0
answers
31
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
2
answers
5k
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 ...
3
votes
3
answers
3k
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
1
answer
527
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
1
answer
16k
views
Magento The requested URL /admin was not found on this server. Error
I have installed fresh Magento setup version 1.7. Now I want to access magento admin dashboard it is showing following error in browser.
Not Found
The requested URL /admin was not found on this ...
3
votes
1
answer
109
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
0
answers
677
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
0
answers
85
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
1
answer
236
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
1
answer
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
2
answers
1k
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
1
answer
70
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
0
answers
414
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
0
answers
56
views
What is the standard order process workflow in Magento 1?
I'm trying to understand the order process in Magento 1.7. The background is: I'm extracting the payment (and later the complete checkout) from Magento to another system, but the order processing ...
2
votes
0
answers
25
views
Custom products attributes stopped updating from dashboard or programmatically
So, on this Magento 1 instance, everything worked fine until a couple of months ago.
I have approx 20 custom attributes attached to an attribute set for a Product. Two of them are not saving. If ...
2
votes
2
answers
94
views
Sorting on a date's component
For Magento 1.x
How do I sort product based on a date attribute by a month and year only, rather than on the whole date? The code looks a bit like this:
Mage::getSingleton('...')->...
2
votes
0
answers
20
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
1
answer
2k
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
0
answers
98
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
1
answer
67
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
0
answers
37
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
0
answers
19
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
0
answers
166
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
1
answer
58
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
0
answers
149
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
0
answers
343
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
3
answers
274
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
1
answer
364
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
0
answers
122
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
0
answers
169
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
0
answers
125
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
1
answer
202
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
1
answer
671
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" ...
2
votes
0
answers
35
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
0
answers
68
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
0
answers
322
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
1
answer
565
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
0
answers
68
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
0
answers
104
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
1
answer
1k
views
How to display used coupon code in order details page in admin
I need to show used coupon code in backend order details page. In my searches i found coupon code does not store with order details.
So I was thinking to save coupon code somewhere just after order ...
2
votes
4
answers
533
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
1
answer
536
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
0
answers
346
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
0
answers
50
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
0
answers
119
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
0
answers
50
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
1
answer
752
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
3
answers
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 ...