cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

URL in Javascript in SAP Customer Checkout Manager Quick Selection

mlang1812
Discoverer
0 Likes
753

Hello,

is it possible to add a function to the javascript, e.g. opening a website?

I want to implement a button in the quick selection menu that opens a specific URL.

I tried several codes, but none of them did anything.

Kind regards,

Michael

Accepted Solutions (0)

Answers (5)

Answers (5)

anderson_schmitt
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

this function is no longer working in the Quick and Table service, but in the Retail mode it is working fine.

In the new UI, it is not possible to execute external javascript in the code base. Only via a plugin the partner can extend the UI.

Regards,
Anderson

Former Member
0 Likes

Dear mlang1812 ,

you are correct.

It is not supported in QuickServiceUI.

Should we put our power together and develop a plugin to be able to execute some JavaScript? As there is no plan on the CCO roadmap.

Please drop us a line at info@hokona.de .

Thanks,

Julian

--

hokona team
we strenghten CCO with plugins/extensions/products

mlang1812
Discoverer
0 Likes

Hello @julianwehmann-cco

,


in RetailMode its working, in Kiosk Mode it does not.

Unfortunately Retail Mode isn't really an option because of the usability...


Best regards,

Michael

mlang1812
Discoverer
0 Likes

Hello Robert,

thank you for your answer. Unfortunately we are using the kiosk UI and the javascript code you mentioned didn't trigger anything.

Does this work for the retail UI?

Kind regards,

Michael

Former Member
0 Likes

Yes, mlang1812 ,
just tried it successfully in RetailUI.
Best regards,
Julian

R_Zieschang
Active Contributor
0 Likes

Hi mlang1812 ,

you can add custom javascript code in your Quickselection buttons.

So via javascript you can open new browser windows...

window.open("https://my.url.de");

But I am not shure if any webbrowser security functionality would interfere.

Regards

Robert