1,918
edits
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
[[Category:Modules]] | [[Category:Modules]] | ||
[[Category:AtooNet]] | [[Category:AtooNet]] | ||
{{TemplateDocDev}} | |||
{{TemplateDocUtil}} | |||
= | =UltimateMarketPlace module= | ||
==Overview== | ==Overview== | ||
| Line 8: | Line 10: | ||
The '''UltimateMarketPlace''' module is an extension for Dolibarr ERP/CRM published by [https://www.atoo-net.com Atoo-Net]. | The '''UltimateMarketPlace''' module is an extension for Dolibarr ERP/CRM published by [https://www.atoo-net.com Atoo-Net]. | ||
It provides | It provides everything needed to publish a '''single-vendor online marketplace''': a ready-to-use website template (product catalogue, cart, checkout, customer accounts, download area), used with the Dolibarr Website module, to sell your own products and services directly online. | ||
It is a simplified fork of the Dolibarr "Marketplace" module (used for dolistore.com), from which everything specific to the Dolibarr association, as well as the multi-vendor / | It is a simplified fork of the Dolibarr "Marketplace" module (used for dolistore.com), from which everything specific to the Dolibarr association, as well as the multi-vendor circuit / module submission and review by third-party developers, has been removed. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 18: | Line 20: | ||
|Author||Philippe Grand — Atoo-Net | |Author||Philippe Grand — Atoo-Net | ||
|- | |- | ||
|Version|| | |Version||24.0.0 | ||
|- | |- | ||
|License||GNU GPL v3+ | |License||GNU GPL v3+ | ||
|- | |- | ||
|Dolibarr | |Minimum Dolibarr||v24.0 | ||
|- | |- | ||
|PHP | |Minimum PHP||v8.2 | ||
|} | |} | ||
==Why use UltimateMarketPlace?== | ==Why use UltimateMarketPlace?== | ||
UltimateMarketPlace turns your Dolibarr installation into a standalone online shop, without | UltimateMarketPlace turns your Dolibarr installation into a standalone online shop, without relying on a CMS or a third-party e-commerce platform (PrestaShop, WooCommerce…). Catalogue, orders, invoices and customers stay natively in Dolibarr. | ||
===Use cases=== | ===Use cases=== | ||
====Selling physical or | ====Selling physical or digital products==== | ||
Publish your | Publish your catalogue of products or services directly from the Dolibarr product cards: just place them under the root category of the shop. Files attached to the product can be delivered to the customer in their download area after payment. | ||
==== | ====Subscriptions and time-limited licences==== | ||
With the product validity duration and the Dolibarr price levels ("Multiprices"), sell the same product with several subscription durations: download links expire automatically at the end of the purchased period. | |||
==== | ====Preferential prices for your best customers==== | ||
'''Category discounts''' link a customer category to a product category: the discounted price is displayed automatically as soon as the customer is logged in, with no code to enter. | |||
==== | ====Sales campaigns and coupon codes==== | ||
Create discount codes (percentage or fixed amount), limited in time or in number of uses, each one reserved for a given product, to boost your online sales. | |||
====Online payment==== | ====Online payment==== | ||
Connect the checkout | Connect the checkout to the online payment modules already configured in Dolibarr (Stripe, PayPal…), either with a classic redirection to the public payment pages, or embedded in a frame of the shop. | ||
==== | ====SEO and audience tracking==== | ||
Simplified URLs, automatically generated <code>sitemap.xml</code>, <code>robots.txt</code> and <code>llms.txt</code>, Schema.org markup, Google Search Console verification and Matomo Analytics integration to track traffic without relying on Google Analytics. | |||
==Installation== | ==Installation== | ||
'''Requirements''': the module | '''Requirements''': | ||
*Dolibarr 24.0 or later and PHP 8.2 or later; | |||
*the shop pages contain dynamic PHP code: before enabling the module, add the line <code>$dolibarr_website_allow_custom_php = '1';</code> to <code>htdocs/conf/conf.php</code> (value <code>2</code> if the PHP system functions <code>exec</code>, <code>passthru</code>, <code>shell_exec</code>, <code>system</code>, <code>popen</code> and <code>proc_open</code> are not disabled in <code>php.ini</code>). Without this line, Dolibarr refuses to import the website template and the shop remains empty; | |||
*the Dolibarr modules Third parties, Products, Services, Categories, Orders, Invoices, Banks, Emailings and Website are required: they are enabled automatically with the module. | |||
#Download the module from [https://www.dolistore.com DoliStore] or clone the Git repository into <code>htdocs/custom/ultimatemarketplace</code> | #Download the module from [https://www.dolistore.com DoliStore] or clone the Git repository into <code>htdocs/custom/ultimatemarketplace</code> | ||
#Go to '''Home → Setup → Modules/Applications''' | #Go to '''Home → Setup → Modules/Applications''' | ||
# | #Find '''Ultimate Market Place''' in the '''Websites and other frontal application''' family | ||
#Enable the module by clicking the button in the ''Enabled'' column | #Enable the module by clicking the button in the ''Enabled'' column | ||
[[File: | [[File:Ultimatemarketplace-v25-activation-en.png|center|thumb|800px|Enabling the UltimateMarketPlace module]] | ||
When enabled, the module automatically performs several actions: | |||
* | *Enables multilingual management (<code>MAIN_MULTILANGS</code>), since product cards can be translated | ||
*Creates a '''root product category''' | *Creates a '''root product category''' and a "prospect/customer" '''third-party category''' if none is configured yet | ||
*Registers the module's own invoice PDF template | |||
* | *Creates (or re-enables) a '''dedicated website''' into which the website template provided by the module is imported | ||
'''Update''': after replacing the files, disable then enable the module again (your settings are kept). To bring the website pages in line with the new version, then use the '''Reset website template''' button (see [[#Maintenance mode and template reset|Maintenance mode]]). | |||
The module | The module declares no permission of its own: the administration pages are reserved for Dolibarr administrators, and the shop pages use their own customer session. | ||
=== | ==Configuration== | ||
The module is configured in '''Home → Setup → Modules/Applications → Ultimate Market Place''', spread over several tabs: '''Settings''', '''Setup of payments''', '''Coupon codes''', '''Category discounts''', '''Security''', '''Setup of API server''' (shown only if the REST API module is enabled), '''Matomo Analytics''', '''Carousel''', '''User guide''' and '''About'''. | |||
Before opening the website to the public, go through the tabs in this order: Settings (Miscellaneous, Products, Third parties, Website and Email templates sections), Setup of payments, Security, then disable maintenance mode. | |||
===Settings=== | |||
[[File:Ultimatemarketplace-v25-setup-en.png|center|thumb|800px|Settings tab of the module setup]] | |||
====Miscellaneous==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Constant!!Description | !Setting!!Constant!!Description | ||
|- | |- | ||
|<code> | |Market place name||<code>ULTIMATEMARKETPLACE_NAME</code>||Name of the shop: title of the home page, title of <code>llms.txt</code>, sender name on the PDF invoice | ||
|- | |- | ||
|<code> | |Market place description / Market place keywords||<code>ULTIMATEMARKETPLACE_DESCRIPTION</code> / <code>_KEYWORDS</code>||Meta description and keywords of the home page, translatable per language | ||
|- | |- | ||
|<code> | |Market place email||<code>ULTIMATEMARKETPLACE_EMAIL</code>||Public contact email displayed on the website | ||
|- | |- | ||
|<code> | |Maintenance mode||<code>ULTIMATEMARKETPLACE_MAINTENANCE_MODE</code>||Closes the shop to the public and blocks sales | ||
|- | |- | ||
|<code> | |Block new registrations||<code>ULTIMATEMARKETPLACE_BLOCK_REGISTRATION</code>||Closes the creation of new customer accounts | ||
|- | |- | ||
|<code> | |IP addresses allowed to bypass maintenance mode and the registration block||<code>ULTIMATEMARKETPLACE_MAINTENANCE_MODE_ALLOWED_IPS</code>||Whitelist of IP addresses (for example the office one) | ||
|- | |- | ||
|<code> | |Sidebar cache duration||<code>ULTIMATEMARKETPLACE_SIDEBAR_CACHE_ENABLED</code> / <code>_SIDEBAR_CACHE_DURATION</code>||Sidebar cache in minutes (5 by default), with a button to clear the website cache | ||
|} | |} | ||
=== | ====Products==== | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Constant!!Description | !Setting!!Constant!!Description | ||
|- | |- | ||
|<code> | |Root category for products to sell on the marketplace||<code>ULTIMATEMARKETPLACE_ROOT_CATEGORY_ID</code>||Products/services of this category and its subcategories make up the catalogue (mandatory) | ||
|- | |- | ||
|<code> | |Category featured in the central block of the home page||<code>ULTIMATEMARKETPLACE_ROOT_CATEGORY_ID_BIS</code>||Optional, the root category otherwise | ||
|- | |- | ||
|<code> | |Category for the widget "Version"||<code>ULTIMATEMARKETPLACE_VERSIONS_CATEGORY_ID</code>||Products carrying version numbers (downloadable software) | ||
|- | |- | ||
|Category for the widget "Promotions"||<code>ULTIMATEMARKETPLACE_SPECIAL_CATEGORY_ID</code>||Products displayed with a promotion badge | |||
|- | |- | ||
|<code> | |Minimum product price||<code>ULTIMATEMARKETPLACE_MIN_PRODUCT_PRICE</code>||Paid products below this price are excluded from the catalogue | ||
|- | |- | ||
|<code> | |Maximum age (in days) for a product to be visible into the "New products" section||<code>ULTIMATEMARKETPLACE_DELAY_FOR_NEW</code>||30 days by default | ||
|- | |- | ||
|<code> | |Category to force the "New product" status||<code>ULTIMATEMARKETPLACE_NEW_CATEGORY_ID</code> / <code>_NEW_CATEGORY_MAX_AGE</code>||Forces the "New" badge; a daily scheduled job removes products from it after the given delay | ||
|- | |- | ||
|<code> | |Enable product validity duration||<code>ULTIMATEMARKETPLACE_ENABLE_PRODUCT_VALIDITY_DURATION</code>||Validity start and end dates on order lines, which drive the expiry of downloads; durations per price level if "Multiprices" are enabled | ||
|} | |} | ||
====Third parties==== | |||
== | |||
=== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Constant!!Description | !Setting!!Constant!!Description | ||
|- | |- | ||
|<code> | |Category for all prospects or customers created from the marketplace website||<code>ULTIMATEMARKETPLACE_PROSPECTCUSTOMER_ID</code>||Category assigned to every third party created by the registration form | ||
|- | |- | ||
|<code> | |Enable multiple addresses||<code>ULTIMATEMARKETPLACE_ENABLE_MULTI_ADDRESS</code>||"My addresses" section of the customer account (billing and shipping addresses) | ||
|- | |- | ||
|<code> | |Convert prospect to customer on their first payment||<code>ULTIMATEMARKETPLACE_CONVERT_PROSPECT_TO_CUSTOMER_ON_FIRST_PAYMENT</code>||The prospect becomes a customer as soon as their first invoice is paid | ||
|} | |} | ||
=== | ====Website==== | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Constant!!Description | !Setting!!Constant!!Description | ||
|- | |||
|URL for the logo of the marketplace||<code>ULTIMATEMARKETPLACE_URL_FOR_LOGO</code>||Logo of the website header; otherwise the company logo, then a logo provided with the module | |||
|- | |||
|URL of the welcome image / Hide the welcome image||<code>ULTIMATEMARKETPLACE_WELCOME_IMAGE_URL</code> / <code>_WELCOME_IMAGE_HIDE</code>||Banner of the home page | |||
|- | |||
|Main theme color / Secondary theme color||<code>ULTIMATEMARKETPLACE_THEME_COLOR</code> / <code>_SECONDARY_COLOR</code>||Theme colors (<code>#a45931</code> and <code>#333333</code> by default) | |||
|- | |||
|Enable simplified URLs||<code>ULTIMATEMARKETPLACE_FRIENDLY_URLS</code>||URLs such as <code>/en/123-product-name.html</code> | |||
|- | |||
|Google Search Console verification token||<code>ULTIMATEMARKETPLACE_GOOGLE_SITE_VERIFICATION</code>||Verification meta tag | |||
|- | |- | ||
|<code> | |llms.txt description||<code>ULTIMATEMARKETPLACE_LLMS_DESCRIPTION</code>||Presentation sentence of the website in <code>llms.txt</code> | ||
|- | |- | ||
|User with permissions to perform website operations||<code>ULTIMATEMARKETPLACE_USER_MANAGE_WEBSITE</code>||Technical user used by the shop (creation of third parties, orders…) | |||
|- | |- | ||
|<code> | |Website to use for the marketplace||<code>ULTIMATEMARKETPLACE_WEBSITE_ID</code>||Dolibarr website managed by the module, set when the module is enabled | ||
|- | |- | ||
|<code> | |Always delete the draft order on logout||<code>ULTIMATEMARKETPLACE_DELETE_ORDER_ON_LOGOUT</code>||Empties the current cart when the customer logs out | ||
|- | |- | ||
|<code> | |Show a cookie consent banner||<code>ULTIMATEMARKETPLACE_ENABLE_COOKIE_BANNER</code>||Consent banner on the website | ||
|} | |} | ||
=== | '''Important''': if you change the associated website (<code>ULTIMATEMARKETPLACE_WEBSITE_ID</code>), the users, third parties and orders already created stay linked to the former website and are not migrated automatically. | ||
====Email templates==== | |||
Three drop-down lists let you choose, among the Dolibarr email templates ('''Setup → Emails → Templates'''), the one of the welcome email sent when the account is created (<code>ULTIMATEMARKETPLACE_WELCOME_EMAIL_TEMPLATE</code>), the one of the "Forgotten password" email (<code>ULTIMATEMARKETPLACE_FORGOT_PASSWORD_EMAIL_TEMPLATE</code>) and the one of the buyer's order confirmation (<code>ULTIMATEMARKETPLACE_BUYER_ORDER_CONFIRMATION_TEMPLATE</code>). | |||
===Setup of payments=== | |||
[[File:Ultimatemarketplace-v25-payment-en.png|center|thumb|800px|Setup of payments tab]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Constant!!Description | !Setting!!Constant!!Description | ||
|- | |||
|Block sales on the marketplace||<code>ULTIMATEMARKETPLACE_BLOCK_SALES</code>||The catalogue can still be browsed but ordering is disabled; forced while maintenance mode is active | |||
|- | |- | ||
|<code> | |Auto close orders on successful payment||<code>ULTIMATEMARKETPLACE_CLOSE_ORDER_AFTER_PAYMENT</code>||Closes the Dolibarr order once the payment is confirmed | ||
|- | |- | ||
|<code> | |Select the payment method to use||<code>ULTIMATEMARKETPLACE_MAIN_PAYMENT_METHOD</code>||Dolibarr online payment module used when the order is validated | ||
|- | |- | ||
|<code> | |Include the payment pages provided by Dolibarr inside a frame of the market place shop (advanced users)||<code>ULTIMATEMARKETPLACE_PAYMENT_IN_FRAME</code>||Payment displayed in a frame under the shop domain | ||
|} | |} | ||
Two payment integration modes are available: | Two payment integration modes are available: | ||
*'''Separate page''' (default): no particular setup | *'''Separate page''' (default): no particular setup, the customer is redirected to the public payment pages of your Dolibarr. Drawback: the back-office domain is visible to the customer. | ||
*'''Frame''' (advanced users): the | *'''Frame''' (advanced users, Stripe and Stancer): the payment page is called through a URL of the shop itself. A reverse proxy rule is required on the shop web server; a configuration example is displayed on the page once the option is enabled. | ||
===Coupon codes=== | |||
[[File:Ultimatemarketplace-v25-coupons-en.png|center|thumb|800px|Coupon codes tab]] | |||
Each coupon code is linked to '''one given product''' and has a discount type (percentage or fixed amount), a value, optional validity dates and maximum number of uses, and an active/inactive flag. The buyer enters the code in the cart: it is accepted only if it is active, within its validity dates, under its usage limit and if the product concerned is in the cart. The usage counter is only incremented when the order is validated. | |||
===Category discounts=== | |||
[[File:Ultimatemarketplace-v25-discounts-en.png|center|thumb|800px|Category discounts tab]] | |||
A category discount links a '''customer category''' to a '''product category''' with a discount percentage. For a logged-in customer belonging to this category, the discounted price is displayed directly on the product page and in the cart, with no code to enter. If several rules apply, the highest percentage wins. | |||
===Security=== | |||
[[File:Ultimatemarketplace-v25-security-en.png|center|thumb|800px|Security tab]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
!Constant!!Description | !Setting!!Constant!!Description | ||
|- | |||
|Captcha provider||<code>ULTIMATEMARKETPLACE_CAPTCHA_PROVIDER</code>||None, Google reCAPTCHA or Cloudflare Turnstile, with their site keys and secret keys | |||
|- | |||
|Enable this protection||<code>ULTIMATEMARKETPLACE_LOGIN_PROTECTION_ENABLED</code>||Limits the login attempts on the shop | |||
|- | |||
|Number of failures before blocking / Duration before unblocking (minutes)||<code>ULTIMATEMARKETPLACE_LOGIN_MAX_ATTEMPTS</code> / <code>_LOGIN_BLOCK_DURATION</code>||5 failures and 15 minutes by default | |||
|- | |- | ||
|<code> | |IP addresses allowed to bypass this protection||<code>ULTIMATEMARKETPLACE_LOGIN_BYPASS_IPS</code>||Whitelist (automated tests, trusted network) | ||
|} | |} | ||
The | The captcha and the login protection are disabled by default: configure them before opening registration to the public. | ||
===Matomo=== | ===Setup of API server=== | ||
This tab only appears if the Dolibarr '''REST API''' module is enabled. It contains the '''Public API key''' (<code>ULTIMATEMARKETPLACE_PUBLIC_API_KEY</code>, with a button to generate one), passed as the <code>apikey</code> parameter to the two read-only public endpoints added by the module: <code>/api/index.php/ultimatemarketplace/categories</code> and <code>/api/index.php/ultimatemarketplace/products</code>. | |||
===Matomo Analytics=== | |||
[[File:Ultimatemarketplace-v25-matomo-en.png|center|thumb|800px|Matomo Analytics tab]] | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 208: | Line 243: | ||
!Constant!!Description | !Constant!!Description | ||
|- | |- | ||
|<code>ULTIMATEMARKETPLACE_ENABLE_MATOMO</code>||Enables Matomo | |<code>ULTIMATEMARKETPLACE_ENABLE_MATOMO</code>||Enables Matomo on the website: the tracking code is injected into every page | ||
|- | |- | ||
|<code>ULTIMATEMARKETPLACE_MATOMO_SITE_KEY</code>||Matomo | |<code>ULTIMATEMARKETPLACE_MATOMO_SITE_KEY</code>||Matomo site ID | ||
|- | |- | ||
|<code>ULTIMATEMARKETPLACE_MATOMO_SERVER_URL</code>||Full URL of | |<code>ULTIMATEMARKETPLACE_MATOMO_SERVER_URL</code>||Full URL of the Matomo server | ||
|- | |||
|<code>ULTIMATEMARKETPLACE_MATOMO_AUTH_TOKEN</code>||Optional authentication token, needed to display Matomo statistics in Dolibarr | |||
|} | |} | ||
=== | ===Carousel=== | ||
[[File:Ultimatemarketplace-v25-carousel-en.png|center|thumb|800px|Carousel tab]] | |||
Settings of the home page carousel: transition type (none, fade, slide), speed in milliseconds, pause on mouse hover and loop. Each slide has an image, an optional link and a title; the order is changed by drag and drop and images are chosen or uploaded through an image selector. | |||
===User guide=== | |||
[[File: | [[File:Ultimatemarketplace-v25-guide-en.png|center|thumb|800px|User guide tab]] | ||
The | The '''User guide''' tab displays, in the user's language, a complete guide to configuring and running the module, as text only: the screenshots are on this page. | ||
==Usage== | ==Usage== | ||
===Online shop | ===Online shop=== | ||
[[File:Ultimatemarketplace-v25-shop-home-en.png|center|thumb|800px|Home page of the shop]] | |||
The website generated by the module uses the logo and colors defined in the setup and offers: | |||
#a catalogue organised by categories, with the "New" and "Promotions" badges and a carousel on the home page; | |||
#a product page with the price (category discount already applied) and, for products with price levels, the choice of the duration; | |||
#a cart, kept in session until validation, with a coupon code field; | |||
#a checkout linked to the chosen online payment module; | |||
#a customer area: personal information, "My addresses", order history and download area. | |||
[[File:Ultimatemarketplace-v25-shop-product-en.png|center|thumb|800px|Product page of the shop]] | |||
Validating the cart creates a standard Dolibarr order; the payment produces a standard Dolibarr invoice. | |||
=== | ===Files delivered to the customer=== | ||
The | The '''Shop files''' tab of the product card shows, for each attached file, whether it is displayed on the public product page. A file ticked "'''Main file'''" or "'''Visible to customer'''" can be downloaded by the customer once their order is paid; a warning is displayed if no file of the product is. If the product validity duration is enabled, the download link expires at the end of the purchased period; otherwise it never expires. | ||
===UltimateMarketPlace menu=== | |||
[[File:Ultimatemarketplace-v25-statistics-en.png|center|thumb|800px|Marketplace statistics]] | |||
The '''Marketplace''' main menu gives access to: | |||
*'''Statistics''': invoice statistics, customer statistics, product statistics, list of sales and, if Matomo is configured, Matomo statistics; | |||
*'''Products without tags''': catalogue products without keywords, to check the quality of the catalogue; | |||
*'''Shopping carts''' and '''Invoices''': standard Dolibarr order and invoice lists, filtered on those coming from the shop. | |||
===Maintenance mode and template reset=== | |||
'''Maintenance mode''' closes the website to the public (except for the allowed IP addresses) and blocks sales. While it is active, the Settings tab offers two buttons: | |||
*'''Generate sitemap.xml''': immediately regenerates <code>sitemap.xml</code>; | |||
*'''Reset website template''': re-imports the module's website template into the existing website, '''overwriting the changes made by hand in the page editor'''. To be used after a module update. | |||
Remember to disable maintenance mode once the checks are done: it does not turn itself off. | |||
===SEO=== | |||
<code>robots.txt</code>, <code>sitemap.xml</code> and <code>llms.txt</code> are regenerated automatically when the module is enabled, when the Settings tab is opened and after a template reset. Once simplified URLs are enabled, the old URLs remain valid during the transition. | |||
==What's new in version 24.0.0== | |||
===Compatibility=== | |||
*'''Dolibarr 24 and PHP 8.2 minimum''': the module now requires Dolibarr 24.0.0 and PHP 8.2; it is tested up to PHP 8.5. The update check reads <code>versionmodules/ultimatemarketplace/v24/ultimatemarketplace.txt</code>. | |||
*'''Numbering aligned with Dolibarr''': after 1.0.8, the module moves straight to 24.0.0, like the other Atoo-Net modules. | |||
===Translations=== | |||
*The shop cart block displayed raw keys (<code>quantity</code>, <code>total</code>, <code>shipping</code>, <code>FreeShipping</code>): it now loads the module translations. Reset the website template to benefit from it. | |||
*Added the missing labels of the shop pages (references, VAT, items, adding and removing addresses, registration form checks…) and of the administration messages, in the five languages. | |||
*Translated into French, German, Spanish and Italian the labels that only existed in English. | |||
===Documentation and distribution=== | |||
*User guide: requirements and compatibility section; the English guide becomes <code>GUIDE_UTILISATEUR-EN.md</code>. | |||
*Wiki page rewritten from the current screens, with screenshots in the five languages. | |||
*DoliStore package build script and continuous integration (dependency installation and syntax check under PHP 8.4 and 8.5). | |||
==Previous versions== | |||
The details of versions 1.0.0 to 1.0.8 (coupon codes, category discounts, carousel, login protection, simplified URLs, <code>llms.txt</code>, user guide…) are in the <code>ChangeLog.md</code> file shipped with the module. | |||
==FAQ== | ==FAQ== | ||
===The marketplace website was not created | ===The marketplace website was not created or the shop is empty=== | ||
Check that Dolibarr' | Check that the line <code>$dolibarr_website_allow_custom_php</code> is present in <code>conf.php</code>, then disable and enable the module again. Without this line, Dolibarr refuses to import the template pages, which contain PHP code. | ||
===The cart block displays "quantity" or "FreeShipping"=== | |||
The website still uses the pages of an earlier version of the module. Switch to maintenance mode and click '''Reset website template''' in the Settings tab. | |||
===How do I change the website used without losing the existing orders?=== | |||
It is not recommended: changing <code>ULTIMATEMARKETPLACE_WEBSITE_ID</code> does not migrate the users, third parties and orders already created to the new website. They remain associated with the former website. | |||
=== | ===What is the difference between a coupon code and a category discount?=== | ||
The coupon code is entered by the buyer and only applies to one given product. The category discount is automatic: it applies to all the products of a category for the customers of a given category, as soon as they are logged in. | |||
=== | ===The customer cannot download the purchased product=== | ||
Check, in the '''Shop files''' tab of the product, that a file is ticked "Main file" or "Visible to customer". The home page of the '''Marketplace''' menu reports products already sold that no longer have a deliverable file. | |||
===Is payment in a frame mandatory?=== | ===Is payment in a frame mandatory?=== | ||
No, it is an option for advanced users. By default, payment simply redirects to the public payment pages of your Dolibarr | No, it is an option for advanced users. By default, payment simply redirects to the public payment pages of your Dolibarr, with no particular server setup. | ||
===Which | ===Which languages are supported?=== | ||
The module and the website template are available in '''French''', '''English''', '''German''', '''Spanish''' and '''Italian'''. | |||
==See also== | ==See also== | ||
| Line 279: | Line 356: | ||
*[https://www.atoo-net.com Atoo-Net — Module publisher] | *[https://www.atoo-net.com Atoo-Net — Module publisher] | ||
*[https://framagit.org/grandoc/ultimatemarketplace Module repository] | *[https://framagit.org/grandoc/ultimatemarketplace Module repository] | ||
*[https://wiki.dolibarr.org/index.php/Module_Website Dolibarr Website module | *[https://wiki.dolibarr.org/index.php/Module_Website Documentation of the Dolibarr Website module] | ||
==Other languages== | ==Other languages== | ||
* [[Module_UltimateMarketPlace_FR|Documentation | * [[Module_UltimateMarketPlace_FR|Documentation en français du module UltimateMarketPlace]] | ||
* [[Module_UltimateMarketPlace_DE|Deutsche Dokumentation für das Modul UltimateMarketPlace]] | * [[Module_UltimateMarketPlace_DE|Deutsche Dokumentation für das Modul UltimateMarketPlace]] | ||
* [[Module_UltimateMarketPlace_ES|Documentación en español del módulo UltimateMarketPlace]] | * [[Module_UltimateMarketPlace_ES|Documentación en español del módulo UltimateMarketPlace]] | ||