spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories

Relational Dropdown/Select product attributes in Magento backend


It's not possible to create dependent product attributes directly or straight forwardly under Manage Attributes. But you can make your attributes depend on each other by creating Configurable products.

Lets say you have 2 colors (black and blue) and 2 sizes (L,XL) and you want to make your colors depend on sizes.

At first create 2 attributes size and
color of type dropdown under Manage attributes and
create the attribute options and values. and
Assign it to the right attribute set.

Now create the simple products , lets say product
A with size L and color Black and product B with
color Blue and size XL.

Now create a configurable product lets say AB and
associate these two simple products A and B. Save
the product.

If the customer opens the product AB and if they choose size L they can find only color Black. This is how you can make your product attributes dependent on each other.

Source: here

Or may be this is what you are looking for: http://www.magentocommerce.com/magento-connect/dependent-custom-options-configurable.html

Hope it helps.


Categories : PHP

Related to : Relational Dropdown/Select product attributes in Magento backend
unable to open product from Magento Backend, It is showing fatal error
I really bet your issue is in your .gitignore. I recently had the same issue, and it was because my .gitignore had media/ as one of the entries. Well, go figure, that burried deep in the core inside Adminhtml is this path: app/code/core/Mage/Adminhtml/Block/Media/ That gitignore was excluding that folder NOT just the main media folder in the root of the Magento installation. Check your code base,

Categories : Magento
Magento: When a logged in user "Add To Cart" a product, it should not add that product to the user profile
Magento stores all quotes in sales_flat_quote and sales_flat_quote_item. The entity_id of first table will be used in second table. The quotes are saved in this tables with customer details and product details respectively. If customer is not in logged-in then the customer details (customer_id, email, group etc)will be empty. But customer once logged-in then magento tries add customer details thos

Categories : PHP
Magento : Taking 35 Second to load 4 product's
You use a bit deprecated way to call the filters. I don't know if that can really influate the time of loading but using addFieldToFilter() would limit the calls to database and can be usefull. You can use : Magento: Filter products by Status filtering product collection on "is_salable" The block is maybe not cached correctly. I mean the products are load each time the page is called.

Categories : Magento
Getting product category ids in Magento block
$item->getId() doesn't give you product id, it gives you quote item id. You may use $item->getProductId(). Try this instead; $prod = Mage::getModel('catalog/product')->load($item->getProductId()); Mage::log(print_r($prod->getCategoryIds(), true));

Categories : PHP
cannot add configurable product to cart in magento
Your $product array is missing the options key values. You need to add options which should be An array in the form of option_id => content per the documentation. $product = array( "product_id" => "1300", "qty" => 2, "options" => array( 152 => 28 ) ); Document

Categories : PHP
Recently Add
Cartesian product of associative array showing key and value - PHP
Datamapper orm save and update not working
find methods in COM object
PHP Keyword search not working with multiple words
Set a total based on items ordered, two types, and sometimes one type will not be ordered.
FB request to join a group, going around their official SDK
Using Google charts with php data?
OAuth2 integration with ExactOnline
libvirt-php receives the error: unable to connect to server Permission denied
How to echo results by sets of 2?
Why does PHP's sprintf not round 5s reliably?
php replace affects on replaced string
PHP Find and replace multiple similar entries
Replace PHP date output with pre-made images
How to install Laravel 4 packages on Windows
Using updateOrCreate for multiple data insert in Laravel
Storing products in a MYSQL database and then search and filter them?
Create order with PrestaShop's API
how to get latest messages from all users
Yii CMultiFileUpload Restrict Image width
Combine array by key factor
Semicolon after if condition in PHP - code still works
Get date using day of the week
soap web service with symfony
Seasonal Reservation system Day/month
is it possible to join a single table it self?
Attempting to compare two arrays PHP
Sticky Select Option
Eventbrite duplicate event entry
Pagination Not Working on custom post type in Wordpress
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.