Jump to content
ndiaga

[Free Module] Connected Attributes

Recommended Posts

Add a parent attribute to any attribute to handle connected attributes.

This module  allow you to add hierachy between attributes  in order to show multiple options in product details page.

This was for a very specific project but I wanted to share the code for those who are looking for a similar feature.

 

connectedattributes.zip

 

img_1.JPG.00f583b15512a53dbb193df68f955839.JPG

conn_a_2.JPG.8f67dcb1d181b88895c11d96b37d76f7.JPG

conn_a_3.JPG.ee382071cf3111dac191e70d63fefb8d.JPG

conn_a_4.thumb.JPG.0c9424f63c7cda1e723d0d518cfdb23f.JPG

conn_a_5.JPG.d752e45f9a2579b1a57ab5aff2e70eda.JPG

 

 

Edited by ndiaga (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, vkmaxx said:

Can you give us a little bigger description what does this module do?

 

This module allow you to add a parent attribute to any attribute.

Because with the default attribute system you can only list one attribute from a type.

But this module connect them and allow you to show a list of all attributes available for all products.

Share this post


Link to post
Share on other sites

Hello ndiaga,

Module does not work for me, filter in block layered not showing. The product detail page throw an error, getProductattribute() does not exist in the class InnovativesAttributes and for what is ProductVideoProdisplayModuleFrontController in this package?

Is the downloadable file in your #1 the right one?

Thank you, marie

 

 

Share this post


Link to post
Share on other sites
On 1/4/2018 at 5:04 PM, ndiaga said:

.Do you really think you have created a config file..i dont think you have created a complete module...people dont waste time here...

 

Share this post


Link to post
Share on other sites
4 minutes ago, er_jainamit said:

 

This module was for a very specific project.

I just share the code for those who are looking for  a such feature.

 

Share this post


Link to post
Share on other sites

But either you have not submitted the complete module..or some thing is missing from your module....no one is able to use it......no instruction...So if you want other to use it Kindly upload a complete module..

Share this post


Link to post
Share on other sites
3 minutes ago, er_jainamit said:

But either you have not submitted the complete module..or some thing is missing from your module....no one is able to use it......no instruction...So if you want other to use it Kindly upload a complete module..

Ok, let me test it agin so that I can see what is going wrong.

Share this post


Link to post
Share on other sites
37 minutes ago, er_jainamit said:

Ok, Its great if want to help others...!!!!

 

Ok, I just  fixe the bugs and add some screenshots   as illustration.

A picture is better than a 1000 words.

 

Share this post


Link to post
Share on other sites
34 minutes ago, er_jainamit said:

Thanks for explaining it with images...but i think it is not compatible to the 1.7 version...

prestashop.jpg

not yet tested in the 1.7 but the admin part should work.   front will need some adaptations.

Share this post


Link to post
Share on other sites
13 minutes ago, er_jainamit said:

yes its Not working in 1.7 version.....both admin and front end is not working...

Ok, I see.

The module was initially for a 1.6 version.

I don't like the way the 1.7 is working when it's come to render templates.

They  add blocks  everywhere.  {block name="xy"  } bla bla {/block}

and if a content is not inside that block it will not be rendered.

and included  files sometimes don't work inside blocks.

It's really a mess the 1.7 version.

So I fill  lazy to  convert all my modules to 1.7  at this moment. 

Edited by ndiaga (see edit history)

Share this post


Link to post
Share on other sites
14 hours ago, er_jainamit said:

i think a file is missing from above script " connectedattributes.tpl" ??

No, I don't think so.

 

Share this post


Link to post
Share on other sites
On 03.02.2018 at 6:11 PM, er_jainamit said:

Thanks for explaining it with images...but i think it is not compatible to the 1.7 version...

prestashop.jpg

This module is not compatible 1.7 

Share this post


Link to post
Share on other sites

Hi, I'm receiving an error 500 when I try to get the attributes on any group. The error is pointing to getuser.php file, I saw the file but I can't find any miscode there, I suspect a compatibility issue with Prestashop 1.7 but I'm not sure.

In the attachments you will find the screenshoots of the error and the getuser.php file. Thanks in advice!

prestashop error.PNG

getuser.php file.PNG

Share this post


Link to post
Share on other sites
15 minutes ago, Ciphreak said:

Hi, I'm receiving an error 500 when I try to get the attributes on any group. The error is pointing to getuser.php file, I saw the file but I can't find any miscode there, I suspect a compatibility issue with Prestashop 1.7 but I'm not sure.

In the attachments you will find the screenshoots of the error and the getuser.php file. Thanks in advice!

prestashop error.PNG

getuser.php file.PNG

As I said in my previous posts, this module is for the 1.6 version only and was for a very specific project .

 I was build to complate a missing feature in the attribute wizard module.

 

Share this post


Link to post
Share on other sites
On 8/13/2018 at 7:06 PM, ndiaga said:

As I said in my previous posts, this module is for the 1.6 version only and was for a very specific project .

 I was build to complate a missing feature in the attribute wizard module.

 

Hi. I'm using prestashop 1.6.1.19 and, in the screen to asign the parent attribute, it says "Select an attribute group above to display its values here." but when I choose an attribute group in the dropdown menu, no value is displayed...

Thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More