VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: tookieaaf on October 21, 2020, 16:01:01 PM

Title: Only template no products or categories/ Products won't display
Post by: tookieaaf on October 21, 2020, 16:01:01 PM
php version 7.3.23
Joomla! 3.9.22
VirtueMart 3.8.4 10335

I made a template with nicepage app only header and footer.
I works fine for the e-shop frontpage but when you go to products it doesn't display anything except the tamplate (header & footer)...
This is my site https://maisondemadagascar.com/index.php/el/e-shop
Title: Re: Only template no products or categories
Post by: jenkinhill on October 21, 2020, 16:56:51 PM
Can't work out what all that code is for. If I were you I'd use a proper template, what you have is a template issue, not a VirtueMart problem. 

This is what one of your pages looks like if using Protostar:
https://maisondemadagascar.com/index.php/el/?template=protostar
Title: Re: Only template no products or categories
Post by: tookieaaf on October 29, 2020, 23:17:07 PM
Ok i find a free template the Horme and everything was going well. But i create new products that cannot display why is that?
Title: Re: Only template no products or categories
Post by: Jörgen on October 30, 2020, 00:06:20 AM
You need to give more info than that.
What have You changed ? No one can guess that .
What do You expect to see ? No one can guess this...

Have You set up VM start page ?

I could give you a lot more questions, but can not guess where to start.

Maybe with a REAL url ?

Jörgen

Title: Re: Only template no products or categories
Post by: tookieaaf on October 30, 2020, 15:35:46 PM
Dear Jorgen sorry, you are right !

So this is the e-shop's Home : https://maisondemadagascar.com/index.php/el/e-shop
I had previously added products, i think the last time was 2017. I just decided to renew our shop. So last day i added 2 new products and they don't display. You can find them in the control panel, everything is there info, photo, prices etc. i don't know why i can't see them in the frontend. Even if you search for the product it will apear as the attachment. Somehow is there but also it's not, in a sense!? 

Am i helpfull? can you please help me?
Please ask me whatever i need to explain

thank you
Title: Re: Only template no products or categories
Post by: jenkinhill on October 30, 2020, 20:33:06 PM
This is a front end product  https://maisondemadagascar.com/index.php/el/anakyklomena/rec303a-detail

And this is a category page?  https://maisondemadagascar.com/index.php/el/anakyklomena

Very little content appears to have been entered for the site, such as proper descriptions, prices etc, so it is difficult to know if your new products had any information entered - all you see is the no image placeholder, which suggests you did try to enter the products but did not upload images.
Title: Re: Only template no products or categories
Post by: tookieaaf on November 01, 2020, 11:28:32 AM
First of all thank you for your replies. It is realy encouraging seeing that you people care! And sorry if i am not clear sometimes...
So these url you posted are old products that i put in 2017

The thing is that the new products i add doesn't seem to be displayed... 

https://maisondemadagascar.com/index.php/el/spitika This is the category i added several new products but there is no photos, no info, no price!? but i added them and if you go in joomla virtuemart is there in the backend...
I don't know why?
Title: Re: Only template no products or categories
Post by: tookieaaf on November 03, 2020, 13:18:55 PM
Guys thank you for your help ! i solved it !
I just changed the shop's language to english after i found this article
http://docs.virtuemart.net/faqs/113-products-vanished.html
I don't understand exactly how this works but it works  :D
Title: Re: Only template no products or categories
Post by: tookieaaf on November 03, 2020, 13:43:12 PM
Oh no i didn't fully solved it the old products won't display...
Title: Re: Only template no products or categories
Post by: GJC Web Design on November 03, 2020, 13:57:09 PM
then your old products are in the es_es tables and your new in the en_gb tables

do this

If this should be fixed, in special if already content got entered, the best is to rename the tables with phpmyadmin or similar. You need just to rename all tables with a language tag to your new tag. The language tags are lower case using underscore. so en-GB becomes en_gb. So in case for spain, search for all tables with en_gb at the end and rename them to the spain tag es_es.
Title: Re: Only template no products or categories
Post by: tookieaaf on November 03, 2020, 17:53:19 PM
Ok i get it, thank you !

But how exactly do i rename in phpadmin ?
Can you show me a screenshot?
Title: Re: Only template no products or categories
Post by: tookieaaf on November 03, 2020, 18:06:07 PM
Sorry i found how to rename!!! but tables has already created for en_gb and el_gr . What should i do to have both tables working? is there a way that i can move contents of one table to the other?
Title: Re: Only template no products or categories
Post by: GJC Web Design on November 03, 2020, 18:10:14 PM
are u entering the new products in the Greek language??

Title: Re: Only template no products or categories
Post by: tookieaaf on November 03, 2020, 18:23:08 PM
Yeah everything in Greek, but i changed some things by trying to renew our e-shop. So, i might changed some language settings. But still i add new things in Greek but as i undestand because i changed the default language to English a new table has been created, right?

Title: Re: Only template no products or categories
Post by: tookieaaf on November 03, 2020, 18:28:16 PM
Dear GJC Web Design thank you for the screenshot!!! Now i finnaly found a way, i just need to change the language when i add or edit the products.
Isn't this a proper way ?
Title: Re: Only template no products or categories
Post by: Jörgen on November 03, 2020, 19:24:36 PM
Yes You must have content in the language you wish to display in the front end. This can be filled out in product editing or copied with php admin between languages.

Jörgen @ Kreativ Fotografi