Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Pimcore Prestashop Bundle Laravel Package

bnix/pimcore-prestashop-bundle

View on GitHub
Deep Wiki
Context7

PimcorePrestashopBundle

Customizable pimcore to prestashop product integration

Installation

composer require bnix/pimcore-prestashop-bundle

Usage

Define configuration in config/packages/pimcore_prestashop.yaml for every prestashop shop to integrate

Example usage

  1. Put this minimal config into config/packages/pimcore_prestashop.yaml
# config/packages/pimcore_prestashop.yaml

bnix_pimcore_prestashop:
    stores:
        dev:
            url: 'http://prestashop'
            host: 'prestashop.local:7777'
            api_key: 'AWVDMSUHIPXEQD7EA9A1GIKDSSLE9D4H'

            languages:
                en: 1

            currencies:
                - EUR

            mappings:
                Product:
                    reference: Id
                    name: Name
                    price: Price
  1. Run bin/console prestashop:sync dev
  2. Done!

Mapping resolvering

Integrations support 3 kinds of mapping:

  1. User defined (highest prioryty) - mappers defined by user that extends AbstractMapper
  2. Class field - acessible by standard getter
  3. Fixed value - constant value

Localized fields are fully supported

Extended Prestahop API support

You can define your custom listener that will be executed before http api reqeust. To do so, please define Listener in src/EventListener and configure it to listen bnix.prestashop.preSend event.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table