WebSite X5Help Center

 
Holger Glüsing
Holger Glüsing
User

How can No. 65847 Change the naming of the order claim to be SOLVED  en

Autore: Holger Glüsing
Visite 1215, Followers 2, Condiviso 0  

Plz. HELP,

I really can not see how  "No.65847: Change the naming of the order ..."  has got its "Solved"-attribute with Claudio D.s

"Unfortunately we cannot help with custom code but you need to change the settings directly in the files generated by the program and you can find the cart file in your project under /cart/x5cart.js"

As I see it just now ... it should say: IF you have to have influence on x5's js-files ... it is NOT practically possible to upgrade to x5 v/10.

Plz convice me ... that I'm wrong.

Background:www.slidstaerk.dkhas for several years been running as a x5v8 "special", where the speciality is that I have modified the imCShowPayButton-function in "C:\Program Files\WebSite X5 v8 - Evolution\Res\x5cart.js" ... (see attachment)

THIS x5v8-change does that I can make the website callwww.wannafind.dksecure paymentgateway with the right parameters ORDER_NO and PRICE formatted the way they (wannafind) REQUIRE ... ONLY DIGITS.

Now trying so hard to upgrade to X5 v/10 (www.powergoogle.dk) I am so very sorry that I can not figure out any way how to accompish wannafinds demands ...

And even worse it is not possible to 'mess' with the js-files in "C:\Program Files (x86)\WebSite X5 v10 - Evolution\Res\" eg "x5cartengine.js"

Changing eg. "'order_no_format': '[yy][mm][dd]-[A-Z][A-Z][0-9][0-9]'," to "'order_no_format': '[yy][mm][dd][0-9][0-9][0-9][0-9]'," ought to give the right x5cart.js ... but it does NOT.

Next time the projects x5cart.js file is generated ... (often in the seconds before the upload starts) ... its order_no_format-line is spoiled again.

What can I do to make x5v10 generate the c5cart.js-file a way that respects my modifications of eg. x5cartengine.js.

Thanks a head

Postato il
1 RISPOSTE
Incomedia
Michele C.
Incomedia

Hello Holger,

if you wish you can modify the js files in your "C:\Program Files (x86)\WebSite X5 v10 - Evolution\Res\" folder . Just be sure that the software is closed before doing it, otherwise they can be replaced again. After having done it open your project and open the preview keeping pressed the CTRL key of your keyboard (in this way all the files of the project will be generated again). 

Unfortunately I cannot help you much more because we don't provide support for this kind of customization.

Hope this helps

Leggi di più
Postato il da Michele C.