Custom Extension Stucture

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Doveman
Posts: 23
Joined: 06 Nov 2017, 20:59

Custom Extension Stucture

Post by Doveman » 16 Nov 2017, 05:10

I am still learning Aimeos so please forgive my lack of understanding.
You have already verified my setup for customizing templates, now I need to verify that I have the custom extension directory setup correctly for modifications to database setup and queries.
zlcsymfony is the name of my custom extension
I placed the setup schema for the tables I need to modify in zlcsymfony / lib / custom / setup / default / schema / tablename.php
and the queries in zlcsymfony / lib / custom / config / mshop / tablename.php

Is that correct.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Custom Extension Stucture

Post by aimeos » 16 Nov 2017, 21:35

Doveman wrote: I placed the setup schema for the tables I need to modify in zlcsymfony / lib / custom / setup / default / schema / tablename.php
and the queries in zlcsymfony / lib / custom / config / mshop / tablename.php
It's not <tablename> but the data "domain". For example, "attribute", "customer" and "product" are domains that contain tables like "attribute_type", "customer_address" and "product_property_type". So you have
  • zlcsymfony / lib / custom / config / mshop / attribute.php
    zlcsymfony / lib / custom / config / mshop / customer.php
    zlcsymfony / lib / custom / config / mshop / product.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply