Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2864 by naddy
10 Jun 2016, 07:34
Hey there,

i'm currently testing aimeos for a project. I used the distribution to get a base structure

Minor problem right now:
- account-page is only showing the login-plugin, not the aimeos plugins.
But that is to be resolved later, when i know if the things i need to program are even possible.

I created an extension for Typo3 and aimeos using the extension tool here... i managed to get a new filter integrated... it's empty right now, but i needed to know if it is even possible to integrate one with a new extension.

So... next step:
i want to add a new tab to the aimeos backend/admin.
The main work with the objects of my extension would be inside my own backend-module, but i wanted to know if there is a (relatively easy) way to add new tabs to the aimeos backend to create some interaction there...

Thanks for help
Greetings from germany

Nadine
#2865 by aimeos
10 Jun 2016, 10:22
Hi Nadine

naddy wrote:- account-page is only showing the login-plugin, not the aimeos plugins.


The account page contains the Aimeos plugins for order history and the favorite + watch list. If no order has been placed and nothing is in one of the lists, no output is shown. You can add some text for logged in users if you like to inform the users about that.

naddy wrote:I created an extension for Typo3 and aimeos using the extension tool here... i managed to get a new filter integrated... it's empty right now, but i needed to know if it is even possible to integrate one with a new extension.


Can you tell us more about that so we are talking about the same? If there's already something visible, please include a screenshot.

naddy wrote:i want to add a new tab to the aimeos backend/admin.
The main work with the objects of my extension would be inside my own backend-module, but i wanted to know if there is a (relatively easy) way to add new tabs to the aimeos backend to create some interaction there...


Which of the two admin interfaces are you referring to? The simple mode or the expert mode?
In simple mode it's relative easy to add a new panel to the product detail view. In the expert mode it's a bit more complicated but feasible if you copy/paste the code from existing panels.
#2866 by naddy
12 Jun 2016, 10:42
aimeos wrote:The account page contains the Aimeos plugins for order history and the favorite + watch list. If no order has been placed and nothing is in one of the lists, no output is shown. You can add some text for logged in users if you like to inform the users about that.

Ah, ok, so i need to add a standard plugin for editing the account data, as addresses etc. it is not included in the base-distribution?

aimeos wrote:
naddy wrote:I created an extension for Typo3 and aimeos using the extension tool here... i managed to get a new filter integrated... it's empty right now, but i needed to know if it is even possible to integrate one with a new extension.

Can you tell us more about that so we are talking about the same? If there's already something visible, please include a screenshot.

I need a filter for bands... an attribute i will add to products so the visitor of the shop will be able to filter all products for the band he wants.
So i created an extension and added a new Class "Client_Html_Catalog_Filter_Band_Default" inside the required folder structure and the required "band-body-default.html" template. It is currently not doing anything except showing the Header "Bands" the programming of the filter will be made when i finished the required programming of band->product relation wich is currently made through an mm_table to the band-class of my extension.

aimeos wrote:
naddy wrote:i want to add a new tab to the aimeos backend/admin.
The main work with the objects of my extension would be inside my own backend-module, but i wanted to know if there is a (relatively easy) way to add new tabs to the aimeos backend to create some interaction there...

Which of the two admin interfaces are you referring to? The simple mode or the expert mode?
In simple mode it's relative easy to add a new panel to the product detail view. In the expert mode it's a bit more complicated but feasible if you copy/paste the code from existing panels.

[/quote]
Since i changed nothing of the standard distribution so far... i think it is the simple mode.
For the main admin, working with the finished side, a friend of mine, i think it should be the simple mode ;)
I just need a tip where to hook in ...
#2867 by naddy
13 Jun 2016, 10:00
Got another Problem...
When clicking the category the filter result i only get
No product with ID "" found


There are three products (two new and a demo one) displaying in the standard list, two categories present, but the filter only results in the above
#2868 by naddy
13 Jun 2016, 10:11
Aaaand... found the solution for the last problem myself...
Misconfiguration in the filter plugin... pointed to the details page
#2869 by aimeos
13 Jun 2016, 12:53
naddy wrote:Ah, ok, so i need to add a standard plugin for editing the account data, as addresses etc. it is not included in the base-distribution?


No, you don't have to. Aimeos focuses very much on usability and therefore, customers can edit their address when they need them during the checkout process. Address changes will be automatically saved then as well as new delivery addresses. There's no need to do that in the MyAccount area, so there's no plugin for this and this is different from shop software created in the 2000s where usability wasn't much of a concern.

naddy wrote:I need a filter for bands... an attribute i will add to products so the visitor of the shop will be able to filter all products for the band he wants.
So i created an extension and added a new Class "Client_Html_Catalog_Filter_Band_Default" inside the required folder structure and the required "band-body-default.html" template. It is currently not doing anything except showing the Header "Bands" the programming of the filter will be made when i finished the required programming of band->product relation wich is currently made through an mm_table to the band-class of my extension.


It's much easier to create a product filter and you even don't have to implement something for this. Create a new product attribute type "Band" in the admin interface (expert mode in the 16.x versions) and add a product attribute of type "Band" to each product with a value like "Manowar", "Iron Maiden" or "Nightwish". Then, the catalog filter will automatically contain a new filter "Band" with these attributes as filter criteria.

naddy wrote:Since i changed nothing of the standard distribution so far... i think it is the simple mode.
For the main admin, working with the finished side, a friend of mine, i think it should be the simple mode ;)
I just need a tip where to hook in ...


I think you are still using the Aimeos TYPO3 extension 2.4.x which has no simple mode, only the ExtJS based admin interface. We suggest to update to the stable version 16.4.3, where you have the simple mode as well which is much easier to understand by part time editors.
#2870 by naddy
15 Jun 2016, 06:17
aimeos wrote:
naddy wrote:I need a filter for bands... an attribute i will add to products so the visitor of the shop will be able to filter all products for the band he wants.
So i created an extension and added a new Class "Client_Html_Catalog_Filter_Band_Default" inside the required folder structure and the required "band-body-default.html" template. It is currently not doing anything except showing the Header "Bands" the programming of the filter will be made when i finished the required programming of band->product relation wich is currently made through an mm_table to the band-class of my extension.

It's much easier to create a product filter and you even don't have to implement something for this. Create a new product attribute type "Band" in the admin interface (expert mode in the 16.x versions) and add a product attribute of type "Band" to each product with a value like "Manowar", "Iron Maiden" or "Nightwish". Then, the catalog filter will automatically contain a new filter "Band" with these attributes as filter criteria.

Ok, i will try that, thank you.

aimeos wrote:
naddy wrote:Since i changed nothing of the standard distribution so far... i think it is the simple mode.
For the main admin, working with the finished side, a friend of mine, i think it should be the simple mode ;)
I just need a tip where to hook in ...


I think you are still using the Aimeos TYPO3 extension 2.4.x which has no simple mode, only the ExtJS based admin interface. We suggest to update to the stable version 16.4.3, where you have the simple mode as well which is much easier to understand by part time editors.

Yeah, you were right, i updated the base-version and restarted the extension.