GithubHelp home page GithubHelp logo

convermax's People

Contributors

gfanton avatar nickolay-v avatar sergey-v9 avatar

Stargazers

 avatar

Watchers

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

convermax's Issues

Code review

Hi,

some things you may change:

Readme.md file must be in uppercase
All index.php must use PrestaShop licence
Use public key in key folder never private
Please remove thumbs.db from views/img dir
Please consider use escape:UTF-8 also in template files

convermax.php:
289 - I think you want to use ShopName not ShoptName
284 - 301 - Tracking are not allowed
153 - You are using Media::addJsDef, your module will only be available from PrestaShop version 1.6.0.3

views/js/backoffice.js:
Google Analytics are not allowed
113 - You are changing PrestaShop backoffice location, please use window.open(url, _blank)

Security review

Everything is fine.

May be you could add some escaping in the following smarty template :

/convermax-master/views/templates/hook/facet.tpl:32

$facet->Values[0]->Term|regex_replace:"/ .*\]/":"" add |escape
$facet->Values[{$facet->Values|@count}-1]->Term|regex_replace:"/\[.*? /":"" add |escape

Multiple notices when using the shop

When I tried your module, many messages appeared on my screen.

During the registration process:
screen shot 2015-06-05 at 17 03 23

Or when I search an item without the index completed:
screen shot 2015-06-05 at 17 08 11

I also get Cross-Origin Request issues:
capture du 2015-06-05 17 06 44

Override forbidden

Hi,

I quickly reviewed this module and saw overrides of Search functionalities from the PrestaShop core.
Please replace these overrides with classes, controllers etc.

I make this request because it can create conflicts on the shop if several modules try to override the same function. The rule applied will be first arrived, first served. So only one module will have the expected behavior, while the other ones will be broken.

When it will be done, I will be able to do a deeper review.

Regards

Convermax link in menu

Please remove the link "Convermax search" from the side menu.

We do not allow this, because if each module try to add its own links, we would have too many button on this place.
However, you can use the configuration page of the module.

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.