Search in blog
Categories
Related products
JA Marketplace is now available for PrestaShop 8
Version 9.0.0 of our best module is here, the one that allows you to turn your store into a marketplace and in which we have been working for so many years and we have made so many updates.
In this version of the JA Marketplace module we made all the necessary changes to make it compatible with PrestaShop 8.
Version 9.0.0 of this magnificent module is a major update and it only works on PrestaShop 8. This means that you must update your store to PrestaShop 8 to be able to enjoy this version.
The header messages of the module files related to the license have been changed to show information and contact with the developer company.
To add style sheets and JavaScript files in the Backoffice, the "backOfficeHeader" hook was used, which has been deprecated. Now we use the "actionAdminControllerSetMedia" hook instead.
Modified the module to adapt it to PHP and Symfony coding standards.
The module is now compliant with the new code standards for PrestaShop 8 by running the "PHP Coding Standards Fixer" tool.
In the Backoffice, in the seller's product controller, a button was added to the header to add a product to the catalog and another to add an association with the seller.
In the Backoffice, in the seller controller, a button was added to the header to add a seller to the marketplace.
The "actionProductSave" hook is now used to save the association of the product with the seller. In this way, the code is not repeated in several places.
Mandatorily, due to changes in PrestaShop 8 in its logic, the following methods had to be added to the SellerProduct class:
- getAttributes()
- cleanPositions()
The "Seller" object now has a new getSellerProductForCatalog() function that allows you to optimize the seller's product listing on the front end.
The override that this module does on the validateOrder() function of the PrestaShop PaymentModule object, had to be forcibly modified due to new parameters in its declaration.
On the seller's management page, his commission is now correctly displayed considering the configuration of commissions by levels and by category.
Thoroughly reviewed the PrestaShop Dispatcher object with a focus on the createUrl() function in order to resolve a generic issue in sitemap generation.
The dynamic pages that this module offers you, i.e. seller profile page, seller feedback and seller catalog have been removed as meta record because they are different pages for each seller and should not have a meta setting unique tags.
When using dropzone for seller product image upload, it is now possible to upload images with spaces in the photo name thanks to a small tweak we've made.
When you do not want the customer to register as a seller from their customer account, a small bug was discovered that was showing the button always due to the customer group.
Adjusted a variable so that comments from unapproved sellers would no longer appear on the front end.
Lastly, I'd like to let you know that we've added some minor design tweaks to the marketplace vendors page that customers can see.