Re: Avonlee Contempo Template Support Thread
Hello, I have installed this template on version 1.5.1, everything looks great except I have a problem. There is a company that crawls my site, same idea as google, and they list my products, price and availability. Once I installed the template, my site no longer shows on that site.
The owner of it said "I am able to update for the Buy Now vs Sold Out, but the price has moved from inside a div with a class name of listingPrice to just nothing. Could that price be put inside a div with a class again?"
I have no idea how to move that or if I can so it will show up. I have searched for an answer but have come up empty.
Thanks for the great template.
donnyb
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
donnyb
Hello, I have installed this template on version 1.5.1, everything looks great except I have a problem. There is a company that crawls my site, same idea as google, and they list my products, price and availability. Once I installed the template, my site no longer shows on that site.
The owner of it said "I am able to update for the Buy Now vs Sold Out, but the price has moved from inside a div with a class name of listingPrice to just nothing. Could that price be put inside a div with a class again?"
I have no idea how to move that or if I can so it will show up. I have searched for an answer but have come up empty.
Thanks for the great template.
donnyb
Yes, you can add a div class to any element in a zen cart. Which price --on which page-- do you need to add the class?
Thanks,
Anne
Re: Avonlee Contempo Template Support Thread
Thanks for the quick reply, I assume I need the change for the product listing as it crawls each product page individually. Things like this I have no clue about. My previous site was 1.3.9h with my own template (I mainly just changed background color) and it was being crawled correctly until my upgrade, I do not know where to begin to look for this change between what I had and what I have now.
donnyb
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
donnyb
Thanks for the quick reply, I assume I need the change for the product listing as it crawls each product page individually. Things like this I have no clue about. My previous site was 1.3.9h with my own template (I mainly just changed background color) and it was being crawled correctly until my upgrade, I do not know where to begin to look for this change between what I had and what I have now.
donnyb
You can add the class to the includes/modules/avonlee_contempo/product_listing.php file.
Thanks,
Anne
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
picaflor-azul
You can add the class to the includes/modules/avonlee_contempo/product_listing.php file.
Thanks,
Anne
I appreciate your help on this. Things like this are way over my head. You wouldn't happen to know what I need to put in the file to accomplish this would you? Does it matter where in the file it goes? I tried to compare my previous sites file and the one on my live site, but there is too many differences for me to figure out which would accomplish what I need.
Thanks again for your help.
donnyb
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
donnyb
I appreciate your help on this. Things like this are way over my head. You wouldn't happen to know what I need to put in the file to accomplish this would you? Does it matter where in the file it goes? I tried to compare my previous sites file and the one on my live site, but there is too many differences for me to figure out which would accomplish what I need.
Thanks again for your help.
donnyb
Change line 150 to:
Code:
$lc_price = '<div class="put your class here">' . zen_get_products_display_price($listing->fields['products_id']) . '</div><br />';
Thanks,
Anne
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
picaflor-azul
Change line 150 to:
Code:
$lc_price = '<div class="put your class here">' . zen_get_products_display_price($listing->fields['products_id']) . '</div><br />';
Thanks,
Anne
Thank you for the help. I have made the change and hopefully my site will start showing up again on that search site soon. Thank you for the template and for your help with this Anne, I do appreciate it!
Thank you
donnyb
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
donnyb
Thank you for the help. I have made the change and hopefully my site will start showing up again on that search site soon. Thank you for the template and for your help with this Anne, I do appreciate it!
Thank you
donnyb
No problem ;)
Thanks,
Anne
Re: Avonlee Contempo Template Support Thread
Just wanted to post that the suggested fix did the trick.
Thanks
donnyb
Re: Avonlee Contempo Template Support Thread
Quote:
Originally Posted by
donnyb
Just wanted to post that the suggested fix did the trick.
Thanks
donnyb
That's great ;)
Thanks,
Anne