WebSite X5Help Center

 
Tom G.
Tom G.
User

Tutorial to create Store with Database used for available quantity  en

Auteur : Tom G.
Visité 1158, Followers 1, Partagé 0  

Is there available tutorial (or sample WSX5 project) explaining how to create Shopping Cart using Database and sending available quantity to Database?

Posté le
10 RéPONSES - 2 UTILE - 1 CORRECT
Tom G.
Tom G.
User
Auteur

Aleksej,

I’m getting the following message when following instructions regarding available product quantity in “How to define product stock availability” official documentation.

    

So, looks like one step described as “Activate Send Data to Database” in this tutorial is missing.

I understand, that on my hosting site, the database needs to be created and WSX5 has to be notified about it.

In one of your previous responses, where I asked about the database, you said: “Ask to create a database. They should tell you: hosts, database name, database username, database user password.

I am about to call my hosting support and ask for the creation of the database. The question is where? I mean in which folder?

And after the file is created – how do I link it to WSX5 shopping cart?

I would appreciate detailed response, because I have zero experience in that matter. Something like “for Dummies” (smile).

Thank you in advance!

Lire plus
Posté le de Tom G.
Aleksej H.
Aleksej H.
Moderator

"I am about to call my hosting support and ask for the creation of the database. The question is where? I mean in which folder?" - You need to create a database on the hosting.Or you can ask the hosting technical support. The database is created in the hosting control panel (in most cases). It is not created in a folder.

"And after the file is created – how do I link it to WSX5 shopping cart?", "They should tell you: hosts, database name, database username, database user password." - yes, then you need to specify this data here:

And then:

"I would appreciate detailed response, because I have zero experience in that matter. Something like “for Dummies”" - if you have more questions - write them.

Lessons 20 to 23 show an example of database configuration.

Lire plus
Posté le de Aleksej H.
Tom G.
Tom G.
User
Auteur

Thank you, Aleksej,

I created the data base and it worked fine. It shows number of available items:

But now, when trying to change anything in Elements/Details in Product Catalog Object, I am getting this message?

What does it mean? I don't see any changes when clicked "OK" (to set it automatically).

How to manually change page's extenssion to .php?

Lire plus
Posté le de Tom G.
Tom G.
Tom G.
User
Auteur

I realised, that on the server, there are two entries for the page: with extenssions .html and .php.

Any idea why .html is called and not .php? When I manualy open the .php page - all seems to be fine...

Lire plus
Posté le de Tom G.
Paul M.
Paul M.
Moderator

Hello Tom,

Delete the .html version of the page from your server, and the problem will go away.

Kind regards,

Paul

Search the WebSite X5 Help Center

Lire plus
Posté le de Paul M.
Tom G.
Tom G.
User
Auteur
Paul M.
Delete the .html version of the page from your server, and the problem will go away.

Thank you, Paul. It worked.

Lire plus
Posté le de Tom G.
Tom G.
Tom G.
User
Auteur

Still would like to know how to manually change page's extenssion to .php from within WSX5?

Lire plus
Posté le de Tom G.
Paul M.
Paul M.
Moderator

You can do that in Step 3, as per the screenshot below:

Lire plus
Posté le de Paul M.
Tom G.
Tom G.
User
Auteur

Thank you, Paul!

Lire plus
Posté le de Tom G.