Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
new product relationship: how to create another custom kind of related product
 
BeeBee1977
Jr. Member
 
Total Posts:  3
Joined:  2012-11-04
 

Can you share the updated code pretty please? smile

I looked in the files but i’m kinda lost when reading the first line.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagePsycho
Moderator
 
Avatar
Total Posts:  1702
Joined:  2009-06-23
 

Hi there,

You can simply use the free extension called ‘Product Accessories’:
http://www.magentocommerce.com/magento-connect/product-accessories.html

Cheers!

 
Magento Community Magento Community
Magento Community
Magento Community
 
BeeBee1977
Jr. Member
 
Total Posts:  3
Joined:  2012-11-04
 
mikecallow - 10 October 2012 05:41 AM

Also, one problem I have run into, is that first of all, the extra related products save just fine. However, if you then edit the product’s other attributes, such as price/pictures and save it, the extra related products are then lost.

To get around this I opened Observer.php and changed the line:

if (!isset($links['accesories']))  {

to:
if (!empty($links['accesories']))  {

and this seems to have fixed this problem.

Can you share the changed files?

Thank you very much.

 
Magento Community Magento Community
Magento Community
Magento Community
 
BeeBee1977
Jr. Member
 
Total Posts:  3
Joined:  2012-11-04
 

I had a bunch of message on the product view page due to disabled “short open tag” in the PHP settings. I enabled it and now i can see the item Accessories in the list of item. (i had to remove the cache & session files to).

I’ll check the rest when i’m home.

 
Magento Community Magento Community
Magento Community
Magento Community
 
pdvpn
Jr. Member
 
Total Posts:  1
Joined:  2013-07-03
 

hello sir, mauricioprado00

i created yourmodue which is specify as above with given code and path in magento 1.7.0.2 but actually when i click on manage product in magento admin the i face this problem

i attached screen as below

plz reply me how to resolve it

 
Magento Community Magento Community
Magento Community
Magento Community
 
mauricioprado00
Member
 
Avatar
Total Posts:  63
Joined:  2009-03-11
Argentina
 

Magento just approved me a new extension that I created, it allows to create multiple product relations and assign them to attribute sets.
Its quite cheap and fully compatible with any magento version, here is the link:

http://www.magentocommerce.com/magento-connect/custom-product-relations.html

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2