X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   DIY Tabbed Content Menu for Product Page (https://forum.x-cart.com/showthread.php?t=11094)

B00MER 01-04-2005 10:04 AM

Quote:

Originally Posted by bluecat
This might sound silly, but will it hurt search engine ranking because the recommended product list for example is hidden? Thanks.


Since it uses DHTML the content is there for the spiders to see, you just won't until the layer is made visible.

PhilJ 01-04-2005 10:23 AM

Quote:

This might sound silly, but will it hurt search engine ranking because the recommended product list for example is hidden? Thanks.

http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

Quote:

entire script search engine friendly and crawl-able.

dalmuti 01-04-2005 10:46 AM

Thanks Phil,

Worked like a charm....

Thanks again,
Louise

bluecat 01-05-2005 02:55 PM

Thanks Boomer

bluecat 01-08-2005 08:15 PM

I know this is probably a whole other mod, but it's linked to this. Does anyone know how to add another piece of information? For instance, another tab with "Additional Information" or "Part Numbers," to a specific product. I know how to add another button and link, but I'd like to add information to each product.

Thanks

markwhoo 01-08-2005 08:34 PM

Quote:

Originally Posted by bluecat
I know this is probably a whole other mod, but it's linked to this. Does anyone know how to add another piece of information? For instance, another tab with "Additional Information" or "Part Numbers," to a specific product. I know how to add another button and link, but I'd like to add information to each product.

Thanks


One solution to this would be to add all of the additional information under the product details.

then modify the product details page to only displat the short description, then add the tab in the tabs menu, make a detail.tpl, call the detail.tpl via the tabs. In the detail.tpl, is where you would have your product detail description. Start off with the short description adding all additional info.

This is one way I have done this and it seems to wirk quite well.

bluecat 01-08-2005 09:18 PM

I'm not quite sure how to call the information via the template. What would be an example inside the detail.tpl?

markwhoo 01-08-2005 09:26 PM

Quote:

Originally Posted by bluecat
I'm not quite sure how to call the information via the template. What would be an example inside the detail.tpl?


This is basic description: {$product.descr}

the detailed description is: {$product.fulldescr}

Place this inside of a small table on your detail.tpl file:

Code:

<SPAN class=>{if $product.fulldescr ne ""}{$product.fulldescr}
{else}{$product.descr}
{/if}
</SPAN>


remember to pull out the full line of code in the description area of the product.tpl, and just leave the {$product.descr}

This way you have a shot description, yet all of the details will show in your detail.tpl.

the array is set up so that if there are NO details, then it will display a repeat of the short description.

Clear as mud? :wink:

bluecat 01-08-2005 09:27 PM

Thanks, I will get started. :)

bluecat 01-08-2005 10:44 PM

Worked like a charm, thank you very much. :)


All times are GMT -8. The time now is 11:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.