Questions tagged [magento-1.7]

Magento Community version 1.7

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Magento 1 : How to add multiple route in single Module

Below is the code for the router in config.xml <routers> <representatives> <use>standard</use> <args> <module>Mage_Representatives&...
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 ...
-1
votes
1answer
19 views

magento 1 how can get images URL by images name

How can I get an image URL from the image name? Please provide me steps and also let me where need to keep code(folder or file location) to get URL.
0
votes
1answer
159 views

How to Export Enabled Simple products sku with mysql query in magento 1.9.2?

I want to export enabled simple products SKU from magento admin export function is not working fine. I have tried to export many times, and it's showing too many extra records. Now i want to try ...
9
votes
3answers
24k views

How to get shipping address by shipping address id?

I have the order object. From that I can get the shipping address id. Can anyone suggest how to derive Shipping address by shipping address id?
1
vote
2answers
1k views

How can I redirect to particular page after login in checkout process?

I have two themes e.g. mobile and desktop. For mobile theme I have separated the first step of the checkout process i.e. Login step to different page. Like page no.1-from basket page a person goto the ...
3
votes
1answer
102 views

Add an default option to a product from product view

I want to give the customers a choice to wrap the order as a gift. I know that I can add it as a custom option. But every product is wrappable. I want to show an option for gift wrapping in the ...
2
votes
1answer
5k views

How to add attributes set column to category products grid?

How to add attributes set column to category products grid under Catalog -> Manage Categories -> Category_to_be_edited I've added a special price since it was already available in the collection. ...
2
votes
2answers
5k views

How to check if a product exists in catalog, rather than deleted, when on Order View page?

Ok, so I've learned how to make the product name a clickable link (when viewing an order as admin) to that product's Edit Page on our Admin Dashboard - here's the post w/ answer. The answer shows ...
1
vote
1answer
401 views

URL redirect for a customer referral / rewards program with pretty urls and redirect

I am pretty new to Magento ... I just can't figure out what to search for I am developing a site with this very specific requirement... I am setting up a customer referral program... there are a lot ...
2
votes
1answer
1k views

Translate Static block content

I have a multilingual site and for display language-specific block i have to create a different static block for each language-specific store. Is there any methods or way available to translate ...
0
votes
1answer
2k views

System.xml to Enable/Disable module

Could someone help me with the following issue I have with a module? I've been stuck for a couple of hours and could do with a fresh perspective. I have two modules ModuleA and ModuleB which both ...
4
votes
2answers
3k views

Fatal error: Class 'Lanot_EasySticker_Helper_Data' not found in /public_html/app/Mage.php on line 546

I am getting the following error (except a different class each time applicable to the extension) every time I try to install an extension: Fatal error: Class 'Lanot_EasySticker_Helper_Data' not found ...
1
vote
1answer
158 views

Is it possible to access categories from an outside root category?

I have a root category set up for all the products. What I am trying to do is set up what I call a meta category. This category would be used for things like holiday themes, gifts for him, etc. What ...
1
vote
1answer
3k views

how to add “gender” resp. a salutation to customer address?

I like to add gender (or a salutation) to the customer's address. While the gender already for a customer exists, I thought I can simply reuse it but somehow I get stuck at the source model which ...
0
votes
1answer
2k views

How to execute large sql query in magento?

I want to store huge content in db and my sample text is 16129 characters in length when i tried to execute this query it is showing "error:The requested URL could not be retrieved" in firefox and "no-...
0
votes
1answer
988 views

Magento Cookie Issue When Logging Into Customer Account

I have a server setup locally with Vagrant which is running nginx + php5-fpm + mysql + varnish. I've disabled varnish for now just to rule that out. I've been having issues when trying to login into ...
0
votes
2answers
3k views

Tried to change store URL and now can't access Store

I have run the following queries on MySql: SELECT config_id FROM core_config_data WHERE path = 'web/unsecure/base_url'; Taken this config_id for #2 UPDATE core_config_data SET ...
0
votes
2answers
3k views

What is the variable that holds the My Cart url?

I have edited XML files to add an icon before the My Cart top-link. I made the icon a link as well, but I added a simple .... I am looking to instead use Magento's variable that holds My Cart's URL ...
5
votes
1answer
1k views

How can I tell if a product was just added to the cart?

I have turned off the option to redirect to the cart after a product has been added. Instead, it just redirects back to the page it was originally on. Is there a way to tell if something was just ...
2
votes
1answer
882 views

Getting x number of products from a category that are in stock

I'm trying to get the first 4 products from a category that are in stock to show on the home page. I've got everything working the way I would like except it's pulling products that are out of stock. ...
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 ...
0
votes
2answers
597 views

localhost redirect to original url

I have a web in a server, but I want update magento. To update I want copy the original magento in localhost, but I am having problems by redirect. I explain my process: I downloaded all content ...
0
votes
1answer
30 views

Magento Shipping country ID is shown as NULL in the reports

I'm using PostgreSQL in my data ware house for reporting purposes, and for a certain report I have to show the sum of revenue for each month grouped by country. When i pulled the report the ...
0
votes
1answer
599 views

how to delete category when there is no delete option?

I have a root category and under this, 7 subcategories are there. I wanted to delete some subcategories.So I took the help of delete option from top right corner and delete that category.However one ...
0
votes
4answers
16k views

How to get shipping method title in sales_order_save event?

How can I get shippingMethod Title in mage/sales/model/Order.php, in function _beforeSave() ? Actually I have to set label for Shipping Description.
0
votes
1answer
609 views

Ajax Cart Does NOT work with Full Page HTTPS (SSL)

I turned on Full Page https, so all pages load only in HTTPS. Now I realized that AJAX cart throws error window when I try to add somethign to the cart. Any ideas where to look for the cause? I can ...
0
votes
1answer
778 views

Cart added products are not displayed in cart

if a user add a product to cart, the cart means 1 Item in cart, if i go to the cart, there are no products displayed. A user can order, the added products are in the order and at paypal... The only ...
3
votes
3answers
849 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 ...
4
votes
1answer
31 views

Magento 1.7 product images issue

I am facing a strange problem with my magento 1.7 installation. If I upload images for any product, save and check the product on the frontend, facing this error a:5:{i:0;s:1203:"Invalid method ...
0
votes
1answer
653 views

Magento connect not showing available update

We have a client with an old Magento version 1.7.0.0 we wanted to upgrade this version to the latest version. So what we did is made a copy to a our test environment, used Magento connect manager and ...
27
votes
5answers
23k views

How to reveal Magento version by code?

I want to know whether there is any class file available for to know the magento version. If the site has been hacked how to to reveal the version? I know there's a way as follows. Mage::getVersion()...
1
vote
1answer
623 views

Magento pagination query different to list.phtml file collection

I have tried to filter the magento product result according to stock and all color and etc. so i have wrote some query, but instead of query my pagination page numbers are different, when i debug this ...
0
votes
1answer
728 views

./mage mage-setup

I am very new to Magento and new to the upgrade. I have been trying to upgrade Magento 1.7.2 to 1.9.2 via SSH. I've created a localhost stage website before I go live but getting many errors. Starting ...
0
votes
0answers
655 views

Magento : Disable Shipping Methods based on custom attribute for product

I created a custom attribute for products in admin panel for shipping Information having values "Yes" or "No" If value is "No" then need to hide (disable) shipping method for the particular product. ...
4
votes
4answers
4k views

Magento Dev site urls redirecting to live site

My Magento dev site has been set up and the homepage is working for it, however all the urls around the site including the backend admin are redirecting the the live site. I have created a new ...
0
votes
2answers
725 views

Error while importing a csv file in the admin

My project had an extension called webshopapps product matrix Which was copied from another project and had been configured . But now when I replace it with the new extension by placing its files ...
0
votes
1answer
691 views

How to sort super product attributes configuration in Magento?

I created a configurable product and added associated products to it but the order of the super product attributes configuration is not sequential. It's shown in the below image. How do i sort them in ...
0
votes
1answer
13 views

Integrity constraint violation when attempting to create salesrule

I've been trying to programmatically create a salesrule that applies a fixed discount if the given conditions are met: The customer email is emailtest@test.com The skuvisible (custom product ...
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 ...
1
vote
0answers
979 views

Amasty Invisible Captch issue [closed]

I'm running the Amasty Invisible Captcha extension in Magento 1.7.x and keep getting 'Something is wrong'. Tracking this down the extension gets an error when it tries to use getBody to read the ...
0
votes
2answers
932 views

How to write conditional statement using {{if}} in the content of CMS page in admin side?

I want to show two different contents of a cms page (e.g. about us) in two different themes. I know it can be possible if I create a template where I can have the theme specific condition and include ...
0
votes
2answers
849 views

Send copy of contact us form with checkbox

I am using Magento's contact us form, which, at the moment, doesn't send a copy of the contact us form to the customer who is filling the form in. I want to control this with a checkbox, therefore i ...
1
vote
1answer
24 views

Where is the Magento 1.x PHP 5.4 patch?

I'm trying to download the PHP 5.4 patch for Magento 1.x CE but I cannot find it, I think this guide is out of date: https://devdocs.magento.com/guides/m1x/other/php5.4_patch.html
7
votes
6answers
6k views

Check my Magento security status

I just had trouble to install the SUPEE-1533 and SUPEE-5344 on CE 1.7.0.0. I did it through the FTP method from Magentary. Question is then : how can I make sure that my Magento install got all ...
0
votes
1answer
260 views

GMAIL: Magento Order/Invoice Emails Bounce Back

Basically, when someone places an order and they are using GMAIL account, such customers do not receive any order confirmation, invoice or tracking information. 72 hrs later I receive bounce back ...
0
votes
1answer
36 views

Fatal error: Call to undefined function simplexml_load_string() in magento 1.7.0.2

Fatal error: Call to undefined function simplexml_load_string() in Magento 1.7.0.2 this error occurs when I am trying to set the site on the test server with PHP 5.6. error "Fatal error: Call to ...
26
votes
13answers
66k views

Remove /index.php from the Magento URL gives 404 error

I am using Magento ver. 1.7.0.2. Here is the link of my website: http://dev.blokeundees.com.au/ I have to remove /index.php from the URL so I have changed into the .htaccess file and backend (secure,...
0
votes
1answer
720 views

Unable to extend Orders Rest Api of Magento

I am trying to extend Orders rest api in magento. For e.g To create a new update method. For doing this, I have created a new class in the local copy: The file I am trying to override is : app\code\...
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 ...