Coder Social home page Coder Social logo

jdanthinne / advancedfeaturesvalues Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 20.0 130 KB

Prestashop module to enable multiple values selection for features, and features values ordering.

License: GNU General Public License v2.0

PHP 84.83% JavaScript 7.43% Smarty 7.74%

advancedfeaturesvalues's People

Contributors

dkarvounaris avatar jdanthinne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advancedfeaturesvalues's Issues

Remove Feature selection ?

Hi. Would like to know how to remove a select feature in aproduct administation.
I 've no choice 'none';

Thnaks for your help, and thanks for your dev !

Can't install on PS 1.6.0.14

I've tried to install it from the Backoffice>Modules, it says that the module has been installed properly but it doesn't appear on the module list.
The thing is that it doesn't create an entry on the database.
I've also tryed to manually copy the folder in the module directory, it didn't work.
What could I do?

FIXED:
I just realized that after unzipping the folder it was named as advancedfeaturesvalues-master, i just renamed the folder to advancedfeaturesvalues and added the entry on the database manually and it worked! I will try this module a little bit if I find something weird I will keep the contact.

Thanks

Character ammont display limit.

Hello, i use your module and it works fine.

But i have a little problem.
After adding many values to one feature in product page in table not all features are displayed.

Probably problem is some character limit, becouse i see that just text is cutted.
http://i.imgur.com/goeqSrJ.jpg

In back-office i checked and all features are fine.

Module is ThirtyBees compatible - perhaps donate to ThirtyBees project?

Hi Jérôme

I haven't seen any contact info for you, so I thought I'd make a post here. Hopefully, you see it.
I've been looking for a decent "multiple values for a feature" module for ThirtyBees (PS 1.6 fork) for a long time and I finally found yours. It's by far the best free one I've seen and it's even more awesome because it works with ThirtyBees! :) And it incorporates beautifully into the BlockLayered filter :)
Your module has great features and fills in an important feature gap in both PS 1.6 and ThirtyBees. I'd like to take say thank you as you've saved the day for me and my company because of this module :)

That brings me to the suggestion I'd like to make:
As it seems that you've completed development on this module and that work on it has stalled, can I perhaps make the very large request and suggestion to please donate your awesome module to the ThirtyBees project so that it can be incorporated into the core as a core feature?
It would bring great value to the OpenSource ThirtyBees project and community. They can then continue development and enhancement to your module from there.

Just a thought and suggestion. Kindly let me know your response.

My post on the ThirtyBees forum regarding your module:
https://forum.thirtybees.com/topic/3456-multiplefeatures/?tab=comments#comment-30387

Issue when installing the module

I upload the module through my ftp client, then I went into my module list, and when I try to instal it I get an error message:

[PrestaShop] Fatal error in module file :/home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/classes/module/Module.php:
Uncaught exception 'ReflectionException' with message 'Class FeatureValueOverrideOriginal_remove5668448375837 does not exist' in /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/classes/module/Module.php:2638 Stack trace: #0 /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/classes/module/Module.php(2638): ReflectionClass->__construct('FeatureValueOve...') #1 /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/classes/module/Module.php(2482): ModuleCore->removeOverride('FeatureValue') #2 /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/classes/module/Module.php(287): ModuleCore->uninstallOverrides() #3 /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/modules/advancedfeaturesvalues/advancedfeaturesvalues.php(51): ModuleCore->install() #4 /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/controllers/admin/AdminModulesController.php(846): AdvancedFeaturesValues->install() #5 /home/www/1af0eb0e938adb9b3f0e370ba590895f/web/presta15/controllers/admin/AdminModulesController.php(1

Do you have any clue?

thanks !

Uninstall error

Hello,

How to uninstall this module manually?
I installed the module then I saw the PHP <5.5 issue. I have PHP 5.3.29
Productfunctions is not working at all anymore :(
Now I can't uninstall the module. I'm getting an error:

[PrestaShop] Fatal error in module Module:
Uncaught exception 'ReflectionException' with message 'Class FeatureValueOverrideOriginal_remove550ad38a02e19 does not exist' in /home/berkve21/domains/baby-schoenen.nl/public_html/shop/classes/module/Module.php:2496 Stack trace: #0 /home/berkve21/domains/baby-schoenen.nl/public_html/shop/classes/module/Module.php(2496): ReflectionClass->__construct('FeatureValueOve...') #1 /home/berkve21/domains/baby-schoenen.nl/public_html/shop/classes/module/Module.php(2405): ModuleCore->removeOverride('FeatureValue') #2 /home/berkve21/domains/baby-schoenen.nl/public_html/shop/classes/module/Module.php(592): ModuleCore->uninstallOverrides() #3 /home/berkve21/domains/baby-schoenen.nl/public_html/shop/modules/advancedfeaturesvalues/advancedfeaturesvalues.php(84): ModuleCore->uninstall() #4 /home/berkve21/domains/baby-schoenen.nl/public_html/shop/controllers/admin/AdminModulesController.php(805): AdvancedFeaturesValues->uninstall() #5 /home/berkve21/domains/baby-schoenen.nl/public_html/shop/controllers/admin/AdminModulesContr

Can't show URL and Meta Name Input

Hi !
Sorry to bother you, i'm trying to make the module work for a friend, and it works. But i can't have the meta and url input i have on my own screen on his.
Did i did something wrong while installing ?

Impossible to see your module in the backend

Hello

First of all thank you to share your work
My problem is that I can not aciver the module because I do not see it in the admin
I tried :
1 to install via "add a new module" in admin
presta told me that the module has been downloaded, but it is invisible
2 via FTP but again nothing in the admin modules

I'm presta 1.6.1.1
with the basic theme

I'm stuck and did not see how to move forward
It is the only module found, that allows to choose multiple attributes of a product at the same time
What is a native function on Magento by the way
I will appreciate very much a helping hand

Thank you very much in advance

Vince

Hierarchical Product Features

Can you modify the module to provide parent-child relationship between 2 or more features. Selecting any value in parent feature should filter out the values in child feature. Similarly, if there is any grand child under child feature selecting value of child should filter values in grand child. This will also require the define the parent-child relationship when adding product features in admin.

Change the ',' Separator

hi,
i was wondering how can i change the comma separator?
i want every feature value to be on a new line, i guess if i change the separator from "," to "
" i could do that.

can you give me a hint ?

Can't show multiple features on front end

After solving the install issue, I tried to display 3 features on the front end, but seems impossible.

Here is the screenshot:
captura de pantalla 2015-10-24 a la s 17 32 32

As you can see I selected few of them, but as soon as I check the product page, it does not appear:
captura de pantalla 2015-10-24 a la s 17 33 45

Where could be the issue?

Incompatibility with prestashop 1.6.1.1

It seems the override in the admin part doesn't work.

The table is still ok, but the admin part is the one from prestashop. The override seems to not work.

Thanks for support

Compatibility issue with pretashop 1.5.4.1

I am triying to install on prestashop 1.5.4.1 and it gives error given below can you please make it compatible with pretashop 1.5.4.1

The following module(s) were not installed properly:

- advancedfeaturesvalues :
The version of your module is not compliant with your PrestaShop version.

Displaying multiple values

Hello,
I would like to display multiple values from this module separated not by comma (,), but every value in new line.
How can I do that simple thing?
Thanks!

404 Not Found on ajaxCall.

Hello jdanthinne,
I would like to thank you for this awesome module for prestashop. I find it very useful to be able select multiple values for each feature. But I have a problem with it. When I'm selecting any value from the available features in blocklayerednavigation tab on Category Page I see only loading.gif. In browser console I see error after ajaxCall:

"NetworkError: 404 Not Found - http://siteURL/modules/advancedfeaturesvalues/blocklayered-ajax.php?layered_id_feature_658=658_62&id_category_layered=25&orderby=position&orderway=asc&n=12true&_=1438432126270"

I've found the .js file where the ajaxCall cannot pass to the success state:
/modules/advancedfeaturesvalues/views/js/blocklayered.js

And if I change the line:
url: baseDir + 'modules/advancedfeaturesvalues/blocklayered-ajax.php',

to:
url: baseDir + 'modules/blocklayered/blocklayered-ajax.php',

It seems like everything is working fine. But I don't understand what's wrong with modules/advancedfeaturesvalues/blocklayered-ajax.php file. You overrides original blocklayered.php file there to achieve something.

Do you have any suggestions what might cause the problems? I can leave the url: path in ajaxCall to blocklayered directory module but you did override the files for some reason so I might miss some functionality this way.

I'm using 1.6.0.14 Prestashop.

Install error

I'm getting an installation error: Class FeatureValueOverrideOriginal54f9b22617779 does not exist.

ID changes at random when retrying installation.

Customized value is not working (not saving)

Prestashop 1.6.1.18
Information from Prestashop forum about this issue:
"When I try to fill customized value, when there is already pre-defined ones, then it simply dont save to DB.
When there is no pre-defined values, then cutomized value works fine."

Screencast

Installation process

Hello,

I am new on github and prestashop so sorry if I am asking obvious question.
I am on PrestaShop 1.6.0.14
PHP 5.5.23
I have downloaded .zip file to my computer and then from presta backend -> Modules -> add new module I upoaded it to my system. I received green message that module was uploaded...
And what now? I thought it will appear on module list and I will be able to install it - but I can not find it there.
I have also unzipped and uploaded it to /modules folder using ftp but I do not see and effect.

How I should install it properly?

Regards,
Andrzej

Pagination and filtering not working correctly

Hey, I have faced some issues within blokclayered.php override and blokclayered.js (after removing both all is working fine).
In short words:

  1. the "/page-x" from url is removed once changing the pages.
  2. sometimes when more than 1 value is choosen for the feature, changing the page causes the one or more values are removed from filter (and from url)

I am trying to debug this and comparing it with the current original blocklayeread module's files.
And there I have some doubts in what are your changes because of module requirements and what are the changes in blocklayered itself.
Could you please:

  1. provide some clues what are the real changes of yours in this particular files (blokclayered.php and blokclayered.js)? What was intended to be changed.
  2. what was the version of original files that you have based on? (if you can share the link to prestashop github)

Thanks

Can't see the module on the back-office (PS1.6.1.1)

Hello,

After downloading your plugin today, I tried to install it in my site (Prestashop 1.6.1.1), but I can't see the module on the back-office.

I've tried uploading it via back-office and also dragging the files on the /modules folder, with no luck.

If it helps, I am working with PHP Version 5.5.6.

PS: I can't even filter by author, so it seems that somehow there must be something missing.

CSV Import Support

First of all thank you for sharing this! It's frustrating that this functionality is not already a part of Prestashop core.

I was wondering if you had added support to the CSV import and export for this? I thought I would ask before trying to figure that out.

Again, Thanks!

BlockLaxeredNavigation wrong filter

I set the compositions -> Elastane filter. This filter contain one product, the second (ineo...).
The filter doesn't disappear the first product (Printed Dress).

advancedfeatures4

csv import

I have installed this excellent module to solve a problem that shouldn't exist. So for that, thanks for the great work.
I'm seeking the separator to use in the cvs importer. I have tried with the pipes but it doesn't seem to work. Is there a way to do a multiple feature value import via the cvs importer? I'm using the latest 1.6 version.

Install on PS 1.6.1.1 full of errors

After installing and setting multiple features on a product, every category and product page spits out the following error:
https://gist.githubusercontent.com/bbbenji/2d586823866ec0cc9e96/raw/5bc69cd36558b8e4edffcf9cecaf91d420931d3d/gistfile1.txt

After reverting the features to a pre install state, disabling, uninstalling the plugin and clearing cache, the frontend resumes but now in the backend once opening the "Features" tab the following error pops up:
https://gist.githubusercontent.com/bbbenji/5f177098a60d7ed7c0c0/raw/e0bdb0bbec9477b07696b91f3b016fcf457442b5/gistfile1.txt

Which roughly translates to: Error 500, server error. A problem occurred while loading tabs: some tabs may not be available. Try refreshing the page or check server logs.

Server log contains this:
https://gist.githubusercontent.com/bbbenji/5a92076575850de1d865/raw/e5fdbd92962a0b87d3d486046375e61243381ccc/gistfile1.txt

Renaming the file override/classes/FeatureValue.php fixes the problem. I think the uninstall is dirty.

Product page truncates features

Hello,
I have installed your module and it works almost perfectly.
I met success for growing up the features values length but product page truncate the "$feature.value" string and I don't understand why. (~350 characters)
Can you help mee with this ?
PS: I'm using Prestashop 1.6.1.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.