Deze module maakt het mogelijk om de productprijs in meerdere valuta tegelijk weer te geven. De plugin toont deze verschillende prijzen op de productlijst (onder de productprijs), zoals op categoriepagina's, in zoekresultaten, enzovoort. Uiteraard wordt de juiste prijs ook getoond op de productpagina. De module past zich aan om correcte prijzen te tonen, zelfs wanneer u een andere combinatie selecteert of de hoeveelheid wijzigt (bijvoorbeeld bij kwantumkortingen).
Zoals je al weet is dit PrestaShop-module waarmee prijzen in veel valuta tegelijk kunnen worden weergegeven. Module toont het daar, waar uw winkel toont product bijvoorbeeld: lijst van producten zoals categorie pagina's, zoekresultaten, fabrikanten, leveranciers etc. De module toont de prijzen ook op de productpagina. Hieronder vind je gedetailleerde informatie over de functies van de module.
Belangrijkste functies in de module om prijzen in veel valuta weer te geven
Als winkeleigenaar kun je zelf bepalen hoe de module werkt. Na installatie maakt deze addon een "configuratie"-pagina aan waar je de details van de addon kunt opgeven. Je kunt daar het type prijzen instellen dat de module weergeeft (zowel op de productpagina als in de lijst met producten):
Selecteer valuta's - module toont de prijs in deze valuta's
Op de configuratiepagina van de module kunt u aangeven welke valuta's de addon weergeeft. Shop krijgt een lijst met valuta's uit je shop - op basis van deze lijst kun je valuta's selecteren / deselecteren. De addon toont de prijzen in de geselecteerde valuta's, één voor één - als een lijst met prijzen.
Prijzen in uitgeschakelde valuta weergeven
Module heeft een functie waarmee je prijzen kunt weergeven in valuta's die zijn uitgeschakeld. Je kunt het bijvoorbeeld gebruiken om dit soort prijzen als referentie weer te geven.
Prijzen alleen weergeven voor geselecteerde producten
Module geeft standaard voor alle producten prijzen weer in veel valuta. Maar het is mogelijk om deze prijzen weer te geven voor geselecteerde producten (exact geselecteerde producten) en/of voor producten die zijn gekoppeld aan geselecteerde categorieën.
Positie van de prijs in verschillende valuta
Naast de eerder genoemde functies bevat de moduleconfiguratiepagina een hulpmiddel waarmee u kunt bepalen waar de module wordt weergegeven op de productpagina en waar deze wordt weergegeven in de lijst met producten (zoals de categorieweergave enz.). Beschikbare posities worden bepaald door een haak met de naam displayProductPriceBlock.
Standaard beschikbare posities
Met de specificatie van displayProductPriceBlock kunnen verschillende varianten van deze positie worden gebruikt:
- displayProductPriceBlock old_price
- displayProductPriceBlock before_price
- displayProductPriceBlock after_price
- displayProductPriceBlock price
- displayProductPriceBlock unit_price
- displayProductPriceBlock weight
Veel thema-ontwikkelaars gebruiken hun eigen displayProductPriceBlock-varianten
Om deze reden hebben we besloten ondersteuning toe te voegen voor aangepaste posities in het displayProductPriceBlock. Als uw sjabloon een niet-standaard positie gebruikt, is de module klaar om ermee te werken. Op de configuratiepagina van de module kun je aangepaste posities gebruiken.
Functie om beschikbare posities te identificeren
Als uw niet-default thema een aantal nieuwe dispalyProductPriceBlock-varianten heeft, kunt u deze eenvoudig identificeren. Schakel gewoon de optie om beschikbare posities te tonen in (op de configuratiepagina van de module). Zodra u uw productpagina of andere pagina's waar de producten verschijnen opent - ziet u beschikbare posities te gebruiken. Je kunt de module zo configureren dat de prijsklassen worden weergegeven waar je maar wilt.
Klaar voor Kroatische wet dubbele prijsaanduiding
De module is gereed voor gebruik in Kroatische winkels waar verkopers prijzen in beide valuta's moeten weergeven (Kroatische Kuna en euro). U kunt het artikel hier lezen: Verplichte dubbele prijsweergave voor Kroatische winkeliers
This update introduces a significant enhancement to the module's architecture, specifically bolstering its backward compatibility with a wider range of PrestaShop versions. We have proactively refined the module's interaction with the PrestaShop core by implementing more robust and adaptive support for functions within the legacy Tools
class.
Technical Justification and Impact:
Across different versions of the PrestaShop platform, certain helper functions within the core Tools
class have been subject to deprecation, renaming, or alterations in their behavior. Previously, this could lead to potential conflicts or fatal errors for merchants operating on older or non-standard PrestaShop environments.
Version 1.5.7 addresses this by introducing an intelligent layer of compatibility checks. The module now dynamically verifies the existence and signature of required functions before execution. This ensures that the module calls the correct methods available in the specific version of PrestaShop being used, gracefully handling any inconsistencies.
Key Benefits:
Greatly Increased Reliability: By eliminating potential errors related to deprecated functions, the module's stability is significantly improved, ensuring seamless and uninterrupted operation.
Expanded Store Compatibility: Merchants using legacy versions of PrestaShop can now benefit from the module's full feature set with confidence, knowing it will integrate smoothly with their system's architecture.
Reduced Conflicts: This enhancement minimizes the risk of conflicts with third-party modules or custom themes that may also rely on different versions of the Tools
class, leading to a more stable e-commerce ecosystem.
Long-Term Support: This update underscores our commitment to maintaining the module's long-term viability and providing a reliable solution for the entire PrestaShop community, regardless of their platform version.
This is a landmark release focused on ensuring full compatibility with the next generation of PrestaShop. The module has been extensively tested and updated to integrate seamlessly with all the new features and architecture of PrestaShop 9.
[MAJOR IMPROVEMENT]
[IMPROVEMENTS]
[FIXES]
Creation of dynamic property multiprice::$mypresta_link is deprecated in modules\multiprice\multiprice.php on line 26
Creation of dynamic property multiprice::$mkey is deprecated in modules\multiprice\multiprice.php on line 61
Creation of dynamic property multiprice::$priceModifiersProductLists is deprecated in modules\multiprice\multiprice.php on line 38
Creation of dynamic property multiprice::$priceModifiersProductPage is deprecated in modules\multiprice\multiprice.php on line 45
displayProductPriceBlock
hook, supporting types like: before_price
, old_price
, after_price
, weight
, price
, and unit_price
. displayProductPriceBlock
hook variants within the theme, simplifying the configuration process.