PrestaShop / example-modules

Example PrestaShop modules
Academic Free License v3.0
177 stars 118 forks source link

DemoJSrouting - add fullname column, add support for PS 1.7.7 #102

Closed leemyongpakvn closed 2 years ago

leemyongpakvn commented 2 years ago

Problem: By default, the Router component is unavailable in PS 1.7.7, so we need an alternative way to create and call Customer Search route to support PS 1.7.7.

Questions Answers
Description? Solution: use JS pure functions and PS bare search route when window.prestashop.component === 'undefined'
Note: add Fullname column and a screenshot make this example looks better
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? Fixes {paste the issue here}.
How to test? Please indicate how to best verify that this PR is correct.
Possible impacts? Please indicate what parts of the software we need to check to make sure everything is alright.