| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
list all products | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
I'm not a programmer, and I've tried the above code....
But I realy don't understand what to do and which files to create.... Please give me some more details on this....
__________________
Dennis Shop @ http://www.cyberlease.nl Version shop: 3.4.4 (shop is NOT life anymore) Mods: - Dutch language - Changed payment methods and shipping methods - Package tracking system for Dutch TPGpost. |
|||||||
#12
|
|||||||
|
|||||||
ok here goes...
total_list.php in the customer directory (not under skin1) Code:
all_products.php in the same directory Code:
list_all.tpl in skin1/customer/ to: Code:
and add the following code into home_main.tpl in skin1/customer above where it says: {else} {include file="common_templates.tpl"} {/if} Code:
There is probably an easier way to do this but this worked for me. Enjoy
__________________
ex x-cart guru |
|||||||
#13
|
|||||||
|
|||||||
Thanks for the quick reply.
Now something is happening Code:
Hmmm..... I called /total_list.php?main=listall
__________________
Dennis Shop @ http://www.cyberlease.nl Version shop: 3.4.4 (shop is NOT life anymore) Mods: - Dutch language - Changed payment methods and shipping methods - Package tracking system for Dutch TPGpost. |
|||||||
#14
|
|||||||
|
|||||||
I think that the products array is too big for it to handle.
Will have to have a rethink.
__________________
ex x-cart guru |
|||||||
#15
|
|||||||
|
|||||||
Aha....
Well, it's about 800 products. Let's think about it.
__________________
Dennis Shop @ http://www.cyberlease.nl Version shop: 3.4.4 (shop is NOT life anymore) Mods: - Dutch language - Changed payment methods and shipping methods - Package tracking system for Dutch TPGpost. |
|||||||
#16
|
|||||||||
|
|||||||||
Would you not then need a template: customer/main/show_all.tpl ?
|
|||||||||
#17
|
|||||||
|
|||||||
good spot Jon.
Just testing to see if anyone is reading the code Yes customer/main/show_all.tpl should be created aswell: I have extensively modified this but the basic template to use is products.tpl just I hard coded some of the dialog.tpl stuff Code:
__________________
ex x-cart guru |
|||||||
#18
|
|||||||
|
|||||||
Would someone please post a link to such a page so I can see the end result?
Thank you,
__________________
- okdpm X-Cart Gold Version: 3.5.1 Things are more like they are now than they have ever been before... |
|||||||
#19
|
|||||||
|
|||||||
pm'd you with the link
__________________
ex x-cart guru |
|||||||
#20
|
|||||||
|
|||||||
Thank you!
__________________
- okdpm X-Cart Gold Version: 3.5.1 Things are more like they are now than they have ever been before... |
|||||||
|
|||
X-Cart forums © 2001-2020
|