Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

osCommerce Contribuion problem

 
   Web Hosting Problem Solving Community! (Home) -> ECommerce RSS
Next:  Spread Your BUSINESS Like a Vurus!  
Author Message
mimages

External


Since: Oct 06, 2003
Posts: 9



(Msg. 1) Posted: Mon Oct 27, 2003 5:07 pm
Post subject: osCommerce Contribuion problem
Archived from groups: alt>ecommerce, others (more info?)

I posted to the osCommerce contributions forum, got a good reply, but it has
some data I'm confused by. I tried posting a reply to question, but haven't
heard back yet, and hope someone here can help. Here's a "transcript" of the
postings, if you can help, I really appreciate it:

Me: Can I display categories as images instead of text? I don't want to
change the default menu on the left side. Rather, I want to have the main
page display the image of each category in the center of the page, instead
of the default "What's New Here?" message. Then, when the user clicks this
image, I can have them taken to the list of products in that category.

Also, I need the "TOP" link to go back to this page instead of the main
page. No plans to use our own index.php, just the shopping cart.

Thanks.

==============
Reply by iiinetworks, Posted: Oct 24 2003, 01:56 PM :

Hmm...try changing (around line 16 of index.php)
CODE
$category_depth = 'top';

to
CODE
$category_depth = 'nested';

Also, as per this bug report, around line 80, you need to swap the
parameters to strpos, so it looks like this:
CODE
if (isset($cPath) && strpos($cPath, '_')) {


Hth,
Matt

==============
My Replay Posted: Oct 25 2003, 08:03 PM :

I can't find the code

CODE
if (isset($cPath) && strpos($cPath, '_')) {

anywhere in the site.

Also, Do you know how I can have a table of images (say, 3 columns, any
number of rows, and have it display the category image for each category? I
could figure this out in ASP, but I'm just now trying to migrate to PHP. I
am trying to not get frustrated and go back to ASP.

Thanks.

 >> Stay informed about: osCommerce Contribuion problem 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> ECommerce All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]