Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving Specials to main box.


Sincraft

Recommended Posts

Posted

Originally, I wanted to have control on the "New products for December". I looked and looked, tried several broken contribs. Nothing.

 

So I found that others were changing it to a contrib called FEATURED products. But if any of you have tinkered with this, you will realize that the contribs on this are SERIOUSLY flawed at best. As I do not know PHP very well, and am pretty new to OSC. I couldn't figure out where the others went wrong. :(

 

SO, then I figured...Ok I'll remove the 'new products for december' feature all together. And look for something else that I can control to put in that area.

 

I have successfully removed the new products for december feature, but still need something THAT I CAN CONTROL in the center box. I was thinking at the absolute last case scenerio of moving the specials box to the main area as that is controlled.

 

BUT I would want the Best Sellers box to show a picture also if I did that to keep in the theme of the website.

 

Could someone please help me with this? I'm sure it's easy to move the specials from column_right.php to the index. But I am just not sure how to do it. I think the biggest challenge would be to make the bestsellers show the picture, or maybe it isn't I have no idea :(

 

Or if someone has other suggestions for that area, or even better...a WORKING featured products contrib!

 

THANKS!

 

S :'(

Posted

I am not sure what problems you have with the featured products contribution, it does work. It has been awhile since I have installed it so I do not recall if the directions needed tweeking but it does work. What problems did you have with it.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

I just checked and I have ver 1.5.2 dated 5 April 04 installed and looking at the instructions I do not remember having any problems with it.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

I had problems with the 'final version' of that. Maybe through the hands it got corrupt somewhere. I'll give that a try. Check back here later to answer my SCREAMS for help lol.

 

That would solve pretty much all of my problems. Does it take you to the product or the category? I'd like to do both like you see on so many webpages.

 

S

Posted

UGH..

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home2/MYSITE/public_html/catalog/includes/filenames.php:65) in /home2/MYSITE/public_html/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/MYSITE/public_html/catalog/includes/filenames.php:65) in /home2/MYSITE/public_html/catalog/includes/functions/sessions.php on line 67

 

what dat mean?

 

I installed it following the directions VERY carefully. What doe sthat mean?

Posted
UGH..

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home2/MYSITE/public_html/catalog/includes/filenames.php:65) in /home2/MYSITE/public_html/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/MYSITE/public_html/catalog/includes/filenames.php:65) in /home2/MYSITE/public_html/catalog/includes/functions/sessions.php on line 67

 

what dat mean?

 

I installed it following the directions VERY carefully.  What doe sthat mean?

 

Look in the knowledge base, common errors, headers already sent.

 

What program are you using to edit your files?

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

I use notepad or just the text editor in Cpanel cause it's faster than editing on the desktop and uploading via ftp.

 

The implementation of this contrib was done using only the Cpanel editor which has worked fine for me.

 

I am going to sift through all the code to verify no 'white spaces' are in there but not sure totally what I am looking for. If worse comes to worse, I will restore everything I changed, and try again to see if I can duplicate the problem. Unfortunately this takes SO much time so I am not sure which way to start. Guess I'll just start by debugging. Then I'll restore/restart. God I'll be so frustrated if I make it past the restore/restart part and it doesn't work and I have to ditch the idea hehe. I'll be a day behind. Yikes.

 

Thanks for your input!

 

S

Posted

Im also getting this in the admin tool:

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home2/anightsa/public_html/catalog/admin/includes/filenames.php:55) in /home2/anightsa/public_html/catalog/admin/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/MYSITE/public_html/catalog/admin/includes/filenames.php:55) in /home2/MYSITE/public_html/catalog/admin/includes/functions/sessions.php on line 67

 

Its the SAME exact as the main page but the numbers are different. 55 instead of 65. What are those codes?

 

S

Posted

The editor in cpanel can cause the problem. If you are going to be editing your files you really should get yourself a php editor, it will really make your life better. I use tsw webcoder and they have a nice free version and there are quite a few other free ones out there that will work.

 

For the whitespace you need to put your curser as far as it will go and keep deleting until there is no space at all following the closing tag.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

very strange:

the file in question from the error...the only thing added was the featured products define. When removing it, it still produces an error. Is there a hidding white space even though it all looks lined up?!???

 

define('FILENAME_SHIPPING', 'shipping.php');

define('FILENAME_SHOPPING_CART', 'shopping_cart.php');

define('FILENAME_FEATURED', 'featured.php');

define('FILENAME_SPECIALS', 'specials.php');

Posted

Just wondering Oz - why does it try to find my Office install disk? I just clicked cancel cancel cancel,but htis is annoying.

 

I removed everything and restored all the files changed. Everything is back to normal now. I'm going to do this again using this editor. If this resolves it, I will certainly add info to the knowledge base that a PHP editor should ONLY be used to edit PHP files if that in fact is the problem, but I believe (like most of the contribs out there) that there are some inherit problems that people with knowledge of php muttle through without posting the resolutions once they get theirs working. I'd love to eat my hat on this one though trust me :)

 

S

Posted

Oz man. No go :(

Admin tool and mainsite - no errors...good thing.

Admin tool does show the 'features' option...good thing.

Admin tool does NOT have the 'features' option in the catalog. :(

Going to triple check, but checked everything..still not working. Any suggestions?

 

S

Posted

K I figured it out.

The contrib 1.5.2 works fine. You just need to be sure the database is populated properly. That you use a php editor to change the things you want. AND make sure teh php editor is working correctly. It was not saving my files for some reason even though I told it to, and no errors came up. So I used another editor and it worked great the first time. Woot.

 

S

Posted
Just wondering Oz - why does it try to find my Office install disk?  I just clicked cancel cancel cancel,but htis is annoying.

 

I removed everything and restored all the files changed.  Everything is back to normal now.  I'm going to do this again using this editor.  If this resolves it, I will certainly add info to the knowledge base that a PHP editor should ONLY be used to edit PHP files if that in fact is the problem, but I believe (like most of the contribs out there) that there are some inherit problems that people with knowledge of php muttle through without posting the resolutions once they get theirs working.  I'd love to eat my hat on this one though trust me :)

 

S

 

Using the correct tools makes a big difference, you can chop down a tree with a dull axe but why would you when you can use a sharp one.

 

Contributions are somewhat hit and miss. The people who submit them have different skill levels and spend different amounts of time on the documentation, add to that the fact that even people who know something are not always good at explaining it to others.

 

What I do before I use a contribution is always find the support thread and check it out first to see if there are any major problems and then try installing it on a clean osC install first before adding it to a modified store. Also you should never make changes to a live store without testing first and of course the most important rule BACKUP YOUR FILES AND DATABASE FIRST!!!

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...