on 2019 May 30 4:55 PM
I'm trying to setup a custom project based on the marketplace accelerator.
There is a documentation for B2C and for B2B projects:
But there is no documentation for marketplace.
If I run ant modulegen, there is only 4 templates: [accelerator], acceleratorordermanagement, ysapomsfulfillment, commercewebservices. And there is no template for marketplace.
I tried to install b2c_acc recipe and add the marketplace addon, but I get and error (ApparelProductModel cannot be resolved to a type).
I also tried to install marketplace_acc recipe and use modulegen to create my own extensions and I got the same error.
How can I setup a custom project based on marketplace accelerator?
Request clarification before answering.
It was actually a bug on Hybris. It was fixed on version 1905.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try following the instruction https://help.sap.com/viewer/4c33bf189ab9409e84e589295c36d96e/1811/en-US/8ace75c786691014a5e9dcafa29d... but change the step number 2 with install -r marketplace_acc Maybe this will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, , I tried that also. No luck, same error.
Also tried this: https://help.sap.com/viewer/4c33bf189ab9409e84e589295c36d96e/1811/en-US/8acc8a5a86691014a20781b3f738... But instead of B2B (steps 9 and 10) I added marketplace addons. No luck also, same error.
I also did an “ant clean all" after editing my localextensions file.
Hi ,
I am unable to see your attachment. But I tried on to set it up and performed below steps -
1) install any b2c accelerator recipe , in my case its b2c_acc_oms
2) add below marketplace extensions into your localextensions.xml -
<extension name='marketplaceaddon' />
<extension name='marketplaceoccaddon' />
<extension name='marketplacebackofficesamplesaddon' />
<extension name='marketplacebackoffice' />
<extension name='marketplacestore' />
<extension name='marketplacepromotionenginesamplesaddon' />
3) do ant initialize and start your server
4) access marketplace - https://localhost:9002/yacceleratorstorefront/marketplace/en/
Refer attachment -
Attached is my localextensions.xml link text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, , thank you for your answer.
But I think there is a misunderstanding here. The problem is not about installing an accelerator. I already installed and tested it. It is working fine.
The problem is to setup a new custom project based on an accelerator.
In my case, I want to create a custom project with all the marketplace features with some customizations and new features.
If I just install an accelerator, I cannot add customizations. Because I cannot change Hybris code. I can only make changes on my own extensions.
For instance, I could want to add a new attribute on Vendor type. I can only do that in my own extension.
Or I could want to change something on Our Vendors page. I can only do that in my own extension.
Do you get what I mean?
Hi ,
Marketplace is not an accelerator therefore no option to install by ant modulegen , indeed these are the some set of extensions/addons provided by different-2 vendors and you need to add them in your localextensions.xml post your custom store setup.
One of the most popular vendor is Mirakl. Mirakl provides SAP certified custom extensions to integrate marketplace functionality with in your custom store.
Refer attachement:
I can see in OOTB , in marketplace_acc recipe it uses OOTB market place extensions and installing it's addons into yacceleratorstorefront.
Similarly you can add these OOTBmarketplace extension into to your custom store.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Thank you so much for your answer.
Actually, marketplace is an accelerator as you can find the documentation here: https://help.sap.com/viewer/4c33bf189ab9409e84e589295c36d96e/1905/en-US/02360c341d8e428f9c27ce0e7ba8...
And there is also an recipe called marketplace_acc as you mentioned. If you install this recipe (which I did) you can access a marketplace store like the others accelerators (apparel, electronics, ...)
The thing that is actually missing is the template on modulegen to generated a custom project based on markeplace accelerator, like it is done to a B2C or B2B (links that I posted on the question).
I tried to generate a custom B2C store (using modulegen following the documentation mentioned before) and then I added all marketplace extensions, but after that when I run and ant command it throws the error (ApparelProductModel cannot be resolved to a type).
ApparelProductModel is from yacceleratorcore extension which I had to remove (step 8 from the documentation).
So now I'm stuck. Did you get passed this error?
Hi Larissa, The issue is exactly not with the marketplace accelerator, but with the customized b2c accelerator you're generating. You need either yacceleratorcore or your equivalent generated by the modulegen ([your_custom_name]core extension) for the accelerator to work.
Please check if you have copied the exact list of extensions that were output to console while you were running modulegen. Also you might want to compare your list in localextensions.xml against the generated custom extensions in the target folder and make sure all of them are included.
Best regards, Łukasz
, thank you for posting the localextensions file. Still I'm saying that the issue is not with the marketplace itself. The ApparelProductModel is part of standard B2C accelerator, so the issue you're having is related to that in my opinion. Did you do "ant clean" and then "ant all" after editing your localextensions file? Seems like something is not picking your current configuraiton.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.