Play Video

BUS205 Creating a Dynamic Category Page – Wix.com

BUS205 Creating a Dynamic Category Page – Wix.com

welcome back okay now I fed in all my items like 21 items or something and by the way there is one thing I forgot in the previous video which is the price so you can simply up to add the price that’s what I did I have the ready press one for example because I have price and here you’re going to change the text type to number but I’m not gonna press add to this because I already have it and I fed in I kiddin or I didn’t imported all the prices
and here I uploaded all the images and I assigned them to the proper records so here is the products table it’s ready for me and now I go back to the home page it’s empty but I have this menu which I have home I just created it by go add like similarly what we did before you go to menu and you just select any menu and drop it the design part is not our concern here is just the structure of the database and creation of the dynamic pages we have
two types of dynamic pages a dynamic page that can display a category that’s why in my product I have category okay I have a type and I have category men women kid because I’m selling outfits and clothes and accessories for both genders so this is the first dynamic page that creates category and the second one that can create or it is a copy or a standby page that will be created once I press any of the items any of the offerings so these are the
two dynamic pages one of them is both of them actually are created on demand and both of them can have endless number of copies as many categories as you have as any items as you have so let’s create the first get the first category dynamic page so you go here on this product and you are going to add a dynamic page click on this wheel and add a dynamic page you are going to select a category dynamic page and you’re going to press next now the URL
this is important because here you have to add the field based on which the category pages will be generated lucky enough I already have a field in my table that is named category and it’s men women kids in the case of this online store so I’m going to add a field or you can just remove this or keep it it’s up to you but I’m its must that I have a field of category that’s the one I need ok sometimes you will face a problem after one or two trials
if you try to do this and you delete this table and blah blah blah you would see that this URL is reserved already in that case just add one number after the products products one products do something like that but for the time being that’s okay and I’m going to add the categories and I’m going to create the page creating the page is just going to be this is home and that was pages now I have a new sub group of pages product pages and it is
products category you see this this is the link between the this very page and the database I have if I go to the settings of this you would see that it is already connected to the products table that I have and it’s in a read-only mode because I just read from this table I don’t edit at some point with the administrative privileges you will have it read and write you can have this read and write but for now you just read ok and that’s the first
thing you do here and let’s add a display of categories and how many categories I have they it is already classified it is already men and women because in that very column of categories all the types I had with men and women so wicks or the database or the operator on the wicks grouped and classified whatever contents you have in this column okay it’s to contents that are repeated all over the records whether twenty a hundred thousand records so
these are the categories that this guy means so he go here okay you have two categories men and women okay and here the display and Men and displayed woman it’s not there it’s still white because I don’t have a display er sometimes we call it the repeater sometimes you are going to use a gallery it really depends but I’m going to add here and go to the gallery and I’m going to choose a gathering that has a text and sorry the gallery had text
let’s go up a little bit yeah this one is okay so I’m going just to hold down the mouse key and drag it in the content area it can comes small I make it the height and width you can make it as big as you can height doesn’t really count because it’s going to be repeated as much as you have of category of men how many records where men is repeated and how many records were women is repeated however I need to attach this to the database yes the page
is attached but this very gallery is not yet so I click on this database icon and I’m going to choose the data set which is products the table I have the image source these images will be replaced by what by a field name image in my table and the title connect to the title which is this thing I would like to connect it to the name of the product so add a title will be replaced by the name I have in my table and last thing I’m not going to do but
links connect to I will just have an eye on this and I will remain remind you about it like a minute from now okay so that’s pretty much what I have to do and I can press preview now and the preview should give me the man category okay and that’s the women category so it gives me all the women although pictures needs to be cropped or something I can show more because it’s going to show like six or nine per time or twelve per time but these are
the women I have and this is the man category however this thing this Navigator will not appear to viewers it’s just appearing to me during the design and previewing times but it will not appear to viewers however this is how to create a category page in the next video we’ll see how to create a dynamic page for items which is more detailed than categories and in this dynamic page we are going to create pages that are detailed or generate copies
of of this dynamic page that are detailed and hold all the information about a specific product or offering that I click on