Skip to Content
author's profile photo Former Member
Former Member

Same custom code in B2B app. for two shops

Hi experts!!

I am working on B2B application. I have created my own application, added and changed some java and html code.

Now i want to use the same application for a second sales area. As far as i know i have to create another shop for the second sales area, but i would like to use the same code and changes i have done for the first shop..

Is there any option for this like copy?? I would not like to do all the changes all over again..

Any ideas??

Thank you all in advance!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 10:00 AM

    Hello to you again!!

    After doing some configuration in XCM today i have the following result:

    if i navigate to my custom's application link

    : /custom_app/b2b/ init.do, the shop i log on to is the one of the default's application configuration. If i add the parameter: ?shop=shop_name then i can enter any of the two shops and all the changes in my custom application work as they should for both shops.

    But why don't i get to choose the shop i want??

    Any ideas??

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I don't think you get to choose the Shop in the direct ERP backend scenario in a JSP. But only with the Shop parameter in the URL, or the Default shop value in the XCM . The shop selection comes only in CRM and the hybrid lean order scenarios.

  • Posted on Aug 22, 2011 at 10:00 AM

    Hello ,

    If you have done your custom modification on the B2B application then it should be possible to create multiple shops in the Shopadmin application with another variant of the Product catalog or another Product catalog that will allow this feature.

    When the users login they will then have a shop selection option.

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2011 at 12:38 PM

    Hi Mark & thank you for your reply!

    I have created another shop via shopadmin with a different product catalog and of course another sales area. I restarted shopadmin and b2b applications.

    My test user belongs to both sales areas. When i hit the link of the custom application : /custom_b2b/b2b/ init.do , i do not get to select the shop i want to enter..

    Am i missing something???

    Once again thank you!

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Actually it is b2b with ERP backend. As far as i have read i cannot have different catalog views but i can have the different shops option. So i want the user to be able to select the shop but one custom application for both shops.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.