Questions tagged [ce-1.7.0.2]

Magento community version 1.7.0.2.

Filter by
Sorted by
Tagged with
21 votes
5 answers
15k views

Why does PATCH_SUPEE-6788 appear to have no effect on a 1.7.0.2 installation?

Note: This issue appears to apply to all versions of Magento which received the SUPEE-6788 patch. You'll see in my answer that both .htaccess and .htaccess.sample need to be restored for the patch ...
  • 2,047
18 votes
3 answers
12k views

Creating Custom Option on Product Save

I'm working on creating a custom option for my products automatically any time a product is created. What I've got so far is an observer that fires on the catalog_product_save_before event and runs ...
27 votes
4 answers
8k views

What is the status of rounding issues in 1.7?

We are using Magento CE 1.7 and have various rounding issues. In various calculations there is a 0,01 EUR difference. The basic issue might be that the article-prices are incl. tax. Co-programmers ...
  • 14.1k
50 votes
5 answers
56k views

Search Type: Like, Full Text or Combined?

What is the difference between the different search types? Like Full Text Combined I am specially interested in how the search behavior and performance changes for those settings.
  • 3,204
24 votes
3 answers
53k views

Change product image for configurable products

I was looking for a way that let me change the product image based on the attribute selected for the configurable product. e.g. Configurable Product With Color Options : 1) Red 2) Green If the Red ...
  • 1,525
23 votes
6 answers
35k views

Permanent solution for the common indexing issue

We have developed some magento project with large inventory record and always face the indexing issue we have tried every thing found on the internet for solving day-to-day indexing issue like ...
  • 1,525
8 votes
3 answers
20k views

How to add dynamic field in magento collection?

I have created one magento collection like this to calculate distance from lat long. $collection = Mage::getModel('module/module')->getCollection()->addFieldToFilter('status',1); $...
  • 3,883
4 votes
1 answer
3k views

Custom sorting for product collection

I have to implement the following scenario. The default sort order in category (by position) should ignore the position set for the products in the category. Instead when sorting by position it should ...
  • 196k
18 votes
2 answers
6k views

Configurable products and attribute set

TL; DR: Is there any reason why the simple products associated to a configurable product have to be in the same attribute set as the configurable product itself? I mean, is there any technical reason? ...
  • 196k
14 votes
6 answers
26k views

Magento MySQL Has Gone Away Error

I'm having loads of weird issues on Magento CE 1.7.0.2. During normal operations, the site will occasionally produce a Magento Error Page (There has been an error processing your request) on both ...
  • 1,501
8 votes
1 answer
18k views

Changing the Attribute Set for a Simple Product

Basically the subject. I have a simple product created with a particular attribute set. Is there a way to change the attribute set associated with this product without having to create a new one?
  • 747
6 votes
2 answers
12k views

change stock availability programmatically

How I can change stock availability ie in stock and out of stock of product programmatically using product ID?
  • 1,649
4 votes
3 answers
3k views

PDO loads fine in Magento but not in external CMS

I am having a problem similar to https://stackoverflow.com/questions/2386575/the-pdo-extension-is-required-for-this-adapter-but-the-extension-is-not-loaded but not the same. The Magento install is ...
3 votes
2 answers
5k views

How to set up second store in multi-domain configuration?

I am trying to set up a second store based on a single magento installation. I have created the website, store, and store view as indicated in http://www.magentocommerce.com/knowledge-base/entry/...
user avatar
1 vote
4 answers
13k views

Magento e-mail sending does not work

When I complete an order, I configured Magento to send an e-mail to the buyer. But no e-mail are sent… In the “sales email” page (in the system settings), I enabled all e-mails. And in the “system ...
  • 147
18 votes
5 answers
38k views

How to list products in descending order?

This seemed simple but is proving otherwise -- I just want to list all products in my store from high -> low To do so, I went to: Configuration -> Catalog -> Product Listing Sort by -> (I ...
13 votes
5 answers
13k views

404 on Store Switch with Product Store View Scoped URL Key

By default URL Key on product page is Global scoped. EDIT: As suggested by FlorinelChis the scope can be changes in Manage attributes. However this breaks the store view switcher behavior. This is ...
  • 6,925
13 votes
6 answers
11k views

Magento upgrade from 1.7 to 1.8 [duplicate]

I am upgrading magento from 1.7 to 1.8. This is the first time I am doing this. Can u tell me how to proceed on this. I had taken db backup using system->tools->backup. Should I take system backup ...
user avatar
10 votes
3 answers
8k views

Add a extra category attribute under general infomation tab

I am trying adding a extra category attrbiute to general infomation tab i have tried adding that using the following code , require_once("app/Mage.php"); Mage::app('default'); Mage::app()->...
  • 1,525
8 votes
3 answers
20k views

Skipping import row, required field "sku" is not defined

During article import of a custom import profile (Dataflow - Profiles) I get this error for all rows: Skipping import row, required field "sku" is not defined. I have mapped "sku" => "artnr" (Field ...
  • 3,204
7 votes
6 answers
28k views

Warning: include(File.php) failed in Autoload.php on line 93

I have followed several articles on this, but none solve my problem. Every request on site writes the following entry to the system log. var/log/system.log: 2013-10-09T12:53:50+00:00 ERR (3): ...
  • 1,501
7 votes
1 answer
1k views

Product loop giving incorrect images

I am looping through products and getting an error with product images. The code I am working with is below: <?php $collection = Mage::getModel('catalog/product')->getCollection(); ...
  • 860
6 votes
1 answer
23k views

What table links a simple product to a configurable product

I have imported some products and for some items, I can see all the children linked in the associated tab but for some others, I can only see one or 2 of the options. If I do select * from ...
  • 987
5 votes
2 answers
3k views

Adding Downloadable Products to Grouped Products or Bundled Products

I am a developer working on a Magento site where it is a requirement that a Downloadable Product is included in a Grouped Product (or, failing that, a Bundled Product). I understand that by default ...
  • 860
4 votes
2 answers
1k views

How to Get core_config_data using Magento soap api?

How to get value of core_config_data eg. general/region/state_required using Magento soap api?
  • 1,649
4 votes
2 answers
11k views

Magento generate coupon codes programmatically

I would like to create unique coupon codes automatically. I have tried the following - when using setCouponCode() to generate coupon code, i must set static code. Example: $code = "abc"; ...
  • 107
1 vote
2 answers
2k views

Custom option File upload getting in order

I have a custom option for image upload on product page I just want to know how can i get this image in customer order. There is by default functionality which gives you link but it redirect on ...
  • 1,452
1 vote
3 answers
4k views

magento backend can't upload images when media is on cdn

i've setup magento CE 1.7.0.2 on a webserver nginx on 12.04 ubuntu cloud server. i've change configuration in order to use cdn for media, skin and js but i have some issues. for instance i can't ...
0 votes
3 answers
4k views

You cannot define a correlation name 'enable_googlecheckout_idx' more than once

my working site got down last day. I found this problem in reports. I believe there must be a quick fix of this issue. I would highly appreciate any kind of help, clue, hint to fix this issue. Thanks....
18 votes
1 answer
4k views

Why does one of many attributes does not get updated with SOAPv2 WS-I?

I'm using Magento CE 1.7.0.2 with SOAPv2 and WS-I. I'm trying to update products with the catalogProductUpdate-Method. The description in the code example below gets updated, but the manufacturer-...
  • 17.3k
17 votes
4 answers
3k views

How can I tell if a corrupt image file is being used for credit card skimming?

I'm working with a site that I believe has been hacked to collect customer credit card data, but I can't be certain. I did not find any suspicious code in the common places I've seen suggested in ...
  • 678
14 votes
2 answers
8k views

Move out of stock products to the end of the catalog product list [closed]

I need to push out of stock products to the end of catalog list Please guide me how to solve this problem, or that file to dig so far I found Toolbar.php, and working around it
14 votes
1 answer
5k views

Automatic 301 redirects for disabled products

I'm trying to add automatic redirects for a custom Product Type (Event) in Magento 1.7. When an event date has passed, I am marking the product as disabled so users don't go to the wrong page, and I ...
  • 243
8 votes
2 answers
9k views

Change the scope of a attribute

A extension created a extra tab in my category menu. With this code: $setup->addAttribute('catalog_category', 'menutopdescription1', array( 'group' => 'General', 'input' ...
  • 423
5 votes
2 answers
463 views

Set Magento Config Data For Script Duration Only

Is it possible to set a Magento configuration option for the duration of a single script only? I'm trying to programatically and recursively create orders in Magento. I want to enable the Flat Rate ...
  • 1,501
4 votes
2 answers
7k views

Add block to category page

I want to add a custom block to the category pages and not care if the the category is anchor or not or if it has children or not. I want to add that block at the bottom of the page after the product ...
  • 196k
4 votes
4 answers
10k views

cron job command in Cpanel

I am using Magento CE 1.7.0.2 on Linux, cPanel environment. Search for proper command for cron job in cpanel So far I got: PATH to PHP /home/USERNAME/PATH_TO_MAGENTO/cron.php wget -O /dev/null -q ...
  • 1,649
4 votes
1 answer
1k views

What is the effect of Mage::getStore()->setId(Mage_Core_Model_App::ADMIN_STORE_ID)

I've found the following line of code used in some of our one-off scripts, and have also found it used in various unofficial (i.e. not entirely trustworthy) websites: Mage::app()->getStore()->...
  • 2,047
4 votes
3 answers
12k views

An error occurred while saving the URL rewrite

I have a store running 1.7.0.2 (updated from a clean install of 1.6). The store keeps running into the "An error occurred while saving the URL rewrite" error. The store is a very simple installation ...
3 votes
1 answer
3k views

Which patches do I need to apply on Magento 1.7.0.2

The site http://fabrizioballiano.net/magento-patches/ listes for Magento 1.7.0.2 the following patches: SUPEE-6482: SUPEE-6482 for CE 1.7.x - 1.8.0.0 (0.01 MB) SUPEE-6285: SUPEE-6285 for CE 1.7.0.0 - ...
  • 14.1k
3 votes
6 answers
11k views

How to get rid of Add To Compare links in the template

I am completely at a loss as to how to remove the Add to Compare links in my template. I have done a global search and found every file that contains that phrase and have carefully commented out the ...
3 votes
1 answer
6k views

Newsletter subscribed but no confirmation mail

If I subscribe to the newsletter as guest I get a email to confirm my subscribtion but after I confirm I don't get a confirmation mail that I am subscribed now. How can I change this to get the ...
  • 3,204
3 votes
2 answers
2k views

Add new custom CMS template directive {{cdnmedia}}

I want to add a new CMS directive to render CDN media URL's just like the media directive: {{media url="wysiwyg/image.jpg"}} Will result in http://www.example.com/media/wysiwyg/image.jpg Now I have ...
  • 7,382
3 votes
2 answers
9k views

Add custom grid to custom tab in admin panel

I have created a tab in the admin panel (Add tab to Product Information in admin panel) and now want to create a grid to show, filter, etc the data from a custom table. How do I extend my module to ...
3 votes
4 answers
9k views

Configurable Product options box not showing on the front end

The drop down selection box is not showing for configurable products, the configurable product itself is showing but not the options to choose which simple product is selected. It is probably notable ...
2 votes
1 answer
1k views

Add Customer Group attribute to Sales Order

I have created a new attribute for Customer Groups called course_id but I need to get the value of this attribute to then become the value for a new attribute for a Sales Order. Any ideas how I could ...
2 votes
1 answer
3k views

Items don't turn out of stock when qty is 0

I am using magento community 1.7.0.2 I checked in System / Configurations / Catalog / Inventory "Qty for Item's Status to Become Out of Stock' is set to 0 However I have noticed that all of the ...
  • 287
2 votes
1 answer
8k views

How to define the order status after creating an invoice

I have searched a lot with google but somehow I'm using the wrong search terms or there is no answer to my specific problem yet. In Magento I'd like to have the following procedure: Customer creates ...
  • 165
1 vote
4 answers
3k views

Cannot change the base url

I am trying to change my store base URL but it's not working. Currently the base URL is set to my installation dir http://ns999999.ovh.net/magento/ I'd like to change it to a domain's name such as ...
user avatar
1 vote
3 answers
1k views

Add WHERE with IN and OR to a product collection

I want to add something like WHERE (table1.attrib1 IN (1,2,3) OR table2.attrib2 IN (1,2,3)) to a product collection to which I have already joined a couple of tables. I tried this, but it doesn't ...
  • 1,649