Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help.. Come see my catalog


jcisar

Recommended Posts

Posted

Hey,

 

I am building an e-commerce site which sells bumper stickers.

I am a relative osc newbie and a PHP dimwit who is having a couple of site realted issues.

 

First, How do I get rid of those new error messages on my index.php page?

Secondly, How do I eliminate one of the three products columns composing the center "New Products" catalog box? Having three columns in the center box causes side-to -side scrolling, which stinks.

 

See my website or details. Click here for the Webpage

 

Thanks,

 

John

:thumbsup:

Posted

Those errors are there because a defined statement cannot be found. It looks like you may have one of the contributions installed that handles the text for you (Define Main Page I think). It is not installed correctly or is broken somehow.

 

The second can be controlled with an option setting in configuration->maximum values.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Those errors are there because a defined statement cannot be found.? It looks like you may have one of the contributions installed that handles the text for you (Define Main Page I think).? It is not installed correctly or is broken somehow.

 

The second can be controlled with an option setting in configuration->maximum values.

 

Jack

Thanks Jack,

In reference to the second suggestion, I'm a bit clueless.

I dont even know how to write an options setting. I presume you are refering to the includes/configure.php file? I opened it and didnt see any value which defines ther number of columns in the center "new product" box.

 

John

Posted
Thanks Jack,

In reference to the second suggestion, I'm a bit clueless.

I dont even know how to write an options setting.  I presume you are refering to the includes/configure.php file?  I opened it and didnt see any value which defines ther number of columns in the center "new product" box.

 

John

 

I played with it as directed, but its not exactly what I expected.

If more than 2 products are listed in teh "New for December" box , three columns are automatically utilized.

I would like to list 8 items, but only use 2 columns with 4 rows.

 

Thanks,

 

John

Posted

I think we may be talking about two different things here. The setting I mentioned is for the number of columns for categories. ut for new porducts, you probably want try this. Open includes/modules/new_products.php and find this code

if ($col > 3) {

Change it to whatever you want and see if that helps.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
I think we may be talking about two different things here. The setting I mentioned is for the number of columns for categories.? ut for new porducts, you probably want try this.? Open includes/modules/new_products.php and find this code
if ($col > 3) {

Change it to whatever you want and see if that helps.

 

Jack

 

I set the value to "1" which reduced my columns by 1. So I went from 3 to 2, which is what I needed.

 

Thanks Jack! :thumbsup:

 

John

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...