Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Box Around Catagories


Guest

Recommended Posts

I am looking to create a new box. Sounds simple, however it's not the usual boxes that appear on both the left and right side of the OSC template. I am trying to make a box around the catagories within catagories. When a customer clicks onto a primary catagory they will be placed inside of that catagory to see either products or more catagories to choose from.

 

Because I can't explain it well, the link below goes to the exacpt place where I want to create a box, or more simply put, a border.

 

http://shopping.saxcomcanada.com/index.php?cPath=26

 

Please take a look,

 

Thanks

Link to comment
Share on other sites

not a contribution but this does work on ms2 I just tested.

 

Open index.php on a fresh ms2 install.. Line 77.

 

            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">

             <tr>

<?php

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

// check to see if there are deeper categories within the current category

 

Replace with:

 

            <td><table border="0" class="ProductListing" width="100%" cellspacing="0" cellpadding="2">

             <tr>

<?php

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

// check to see if there are deeper categories within the current category

 

 

it works.. you might want to create a new style for it and maybe add some padding :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...