X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Showing product extra fields in category list (https://forum.x-cart.com/showthread.php?t=14777)

sermad 06-24-2005 06:37 AM

Showing product extra fields in category list
 
Hi guys,

Could anyone please give me any pointers on how to show extra fields of a product while browsing the products in a category.

So this would be some of the extra fields moved from the product.php to the home.php

thanks

balinor 06-24-2005 06:44 AM

Might want to read through this thread:

http://forum.x-cart.com/viewtopic.php?t=13217

sermad 06-24-2005 07:23 AM

Thats really cool. Actually I noticed in the x-cart\modules\Extra_Fields folder is an extra_fields.php which looks very similar to the hack posted.

I guess I will you this instead.

One more q - Im confused about :-

$extra_fields_provider=$product_info["provider"];

Where is the $product_info["provider"] variable set?

sermad 06-24-2005 07:57 AM

Also without any hack.

Xcart is calling 'SELECT * FROM xcart_extra_fields WHERE active = 'Y' ORDER BY field'

On the home.php page when viewing a category.


All times are GMT -8. The time now is 04:35 AM.

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