Multiple Site 1 Basket / Checkout

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Multiple Site 1 Basket / Checkout

Post by tenkraD » 16 Oct 2018, 10:14

Hy all,

is there any documentation how to extend locale Site or can somenone guide me a bit?
I would like to use locale site for 1 master shop but with different Sites.
Buying/Searching should be possible for customers from different Sites and getting 1 checkout at the end.

I know aimeos offers an extension for this but 1490.-- is too much for me. https://aimeos.com/extensions/

Many Thanks.
Last edited by tenkraD on 18 Oct 2018, 15:51, edited 1 time in total.

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

Re: Extend Locale Site

Post by aimeos » 17 Oct 2018, 11:57

You could try to add multiple sites for each vendor and use the default site as market place if you disable site checking:
https://aimeos.org/docs/Configuration/C ... /sitecheck

That's far away of what the extension of the Aimeos company is able to do but maybe it is enough for your situation.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: Extend Locale Site

Post by tenkraD » 18 Oct 2018, 08:42

Hi and thanks for reply,

Disabled site checking works, for buying stuff from other locale site.
thanks very much.

Just searching over all locale site's isn't working.

Code: Select all

plugin.tx_aimeos.settings.mshop.common.manager.sitecheck = 0

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: Multiple Site 1 Basket / Checkout

Post by tenkraD » 20 Oct 2018, 14:19

Hello Admin,

i got a second Question.

I have now my default site as market place.
I also have an locale "second shop".
On "second shop" i have my basket, confirm & checkout" plugin pointed to default site.
I have set

Code: Select all

plugin.tx_aimeos.settings.mshop.common.manager.sitecheck = 0
in my template to allow customers to buy stuff from "second shop" and "default shop".

Customers can now buy from default and second shop and become 1 basket, checkout and confirm site.
The invoice is generated and shown with both Products to the customer.

But in aimeos backend on order page and invoice page only the products from default page ar listed on the invoice.
Is it possible to get both products listed there.

I tried to set sitecheck 0 also for the module but this seams not to work.

Code: Select all

module.tx_aimeos.settings.mshop.locale.site = default
module.tx_aimeos.settings.mshop.common.manager.sitecheck = 0
Could you help me or is this just not possible with my settings?
Attachments
Aimeos Backend - Ordernumber 16.JPG
Aimeos Backend - Ordernumber 16.JPG (55.39 KiB) Viewed 48071 times
Aimeos Order Confirm - Ordernumber 16.JPG
Aimeos Order Confirm - Ordernumber 16.JPG (49.24 KiB) Viewed 48071 times

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

Re: Multiple Site 1 Basket / Checkout

Post by aimeos » 21 Oct 2018, 16:21

No, searching over all sites/locales doesn't work because the locale manager doesn't care about that setting. It's using a different implementation than "normal" managers.

Code: Select all

module.tx_aimeos.settings.mshop.common.manager.sitecheck = 0
is the way to go but don't know why it doesn't work in your case. Please keep in mind that if this setting would work, all site owners would see all products and orders regardless of their own site!

The ordered products are stored with the site ID of the site the products are added to. Think, you have to implement something of your own here.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: Multiple Site 1 Basket / Checkout

Post by tenkraD » 23 Oct 2018, 16:12

aimeos wrote:

Code: Select all

module.tx_aimeos.settings.mshop.common.manager.sitecheck = 0
is the way to go but don't know why it doesn't work in your case.
So that means you are able to use module.tx.aimeos.settings.mshop.common.manager.sitecheck = 0 ?
aimeos wrote: Please keep in mind that if this setting would work, all site owners would see all products and orders regardless of their own site!
If it would work couldnt i set this option just for default site?

Code: Select all

module.tx_aimeos.settings.mshop.locale.site = default
module.tx.aimeos.settings.mshop.common.manager.sitecheck = 0

module.tx_aimeos.settings.mshop.locale.site = second shop
module.tx.aimeos.settings.mshop.common.manager.sitecheck = 1

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

Re: Multiple Site 1 Basket / Checkout

Post by aimeos » 24 Oct 2018, 17:36

No, this setting removes the site check completely and doesn't care about sites at all. For the frontend it's OK to get some market place like functionality but in the backend it's usually a no-go.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: Multiple Site 1 Basket / Checkout

Post by tenkraD » 24 Oct 2018, 21:50

The setting tx.aimeos.settings.mshop.common.manager.sitecheck = 0 is completly waste of time.
It dosent make sense to have an "market place like functionality" if you cant control which product the customer has bought! I dont understand that.

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

Re: Multiple Site 1 Basket / Checkout

Post by aimeos » 26 Oct 2018, 10:19

Like said at the beginning: You have to implement such things yourself. Aimeos doesn't contain a full-featured market place mode out of the box. The alternative is the market place extension from the Aimeos company which has all features you want.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Re: Multiple Site 1 Basket / Checkout

Post by tenkraD » 27 Oct 2018, 14:23

Hello Admin,
You are totally right, sorry for my rude tone.

I got it working now by reading the code and implementing some stuff by myself.
Im now able to list both products in aimeos backend on order->invoice page on my default market place.

Next step will be searching over all locale sites.

Thanks for your help and for this great opensource

Post Reply