Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2773

Magento Community version 1.8

1 vote

How to get cart items id except configurable product

When you invoke getAllItems(), it returns all quote items (parents and children). If you want just the items added (Magento adds the parent product when you add a child product) and shown in your cart …
laketuna's user avatar
  • 6,850
1 vote

How to set extension enable and disable

I don't believe that determining whether to enable or disable an extension in the method logic is a good approach. The extension you want to enable or disable should have an entry point, at which it …
laketuna's user avatar
  • 6,850
2 votes
Accepted

Attributes not showing on configurable product

Configurable attributes, like you colour_suit, are only used on the simple products. You create simple products with configurable attributes. You then create a configurable product and associated th …
laketuna's user avatar
  • 6,850
1 vote

ERROR: Invalid backend model specified: (when extracting product data)

Your installation script configuration is correct if your script is run and you get that error. I don't see in your pasted config.xml the following.. <config> .... <global> <models> …
laketuna's user avatar
  • 6,850
3 votes
Accepted

How can I edit products on website scope?

Nope, no trick, unfortunately. Magento stores all product data on the store level underneath, so that's why you're only able to edit on the global or store level. A solution without customization is …
laketuna's user avatar
  • 6,850
1 vote

How to protect admin login with htaccess password in magento?

As far as I know, htpasswd (password prompt by using .htaccess file) requires an actual directory and the .htaccess file to be placed there. Since there's no directory for your admin URL, I don't thin …
laketuna's user avatar
  • 6,850
0 votes
Accepted

Enforcing Minimum Order Weight

I would enforce this constraint in the cart using an observer. That way, you can notify the customer before they start checkout (and not make them annoyed). checkout_cart_save_before seems like a de …
laketuna's user avatar
  • 6,850
1 vote

Finding visitor IP for specific search query

It doesn't seem that you can do this out of box. If you look at catalogsearch_query, it doesn't have a column to associate a search query to a visitor. However, it seems pretty straightforward to im …
laketuna's user avatar
  • 6,850
1 vote

eBay to magento integration

If you want to implement an automated integration, you will need to write an extension in Magento that uses eBay's API. Your Magento extension retrieves product data from eBay using this on a regula …
laketuna's user avatar
  • 6,850
0 votes

How to add price per kilo (kg)

There isn't anything native for this. My recommendation is to develop an extension that either computes it at product load (i.e. product page) or an observer that listens to a product-before-save even …
laketuna's user avatar
  • 6,850
3 votes
Accepted

Magento get qty foreach product

You need to move that bracket out and place it after $htmlItem. Like this.. $cart_items = Mage::getSingleton('checkout/session')->getQuote()->getAllVisibleItems(); foreach($cart_items as $items) { …
laketuna's user avatar
  • 6,850
62 votes
Accepted

Why Can't I Load a Product by SKU using loadBySku()?

// This method does not work (Of all, I expect this to work) $product = Mage::getModel('catalog/product')->loadBySku($sku); This is because the method Mage_Catalog_Model_Product::loadBySku does not …
laketuna's user avatar
  • 6,850
1 vote

Mage registry key "original_include_path" already exists

That Mage registry error is telling you that you or Magento has already set data to the registry key original_include_path and that it cannot be overwritten. Magento registry must be unset and reset i …
laketuna's user avatar
  • 6,850