Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I can't figure this out!


NSMStore

Recommended Posts

Posted

ok, when a customer searches a product, and I don't have it, I want a list of banners of my affiliates to be on the advanced_seach_results...

 

Can anyone help me with how to do this???

Thanx for all your help.

 

Keep it Real

&

God Bless

Posted

I have STS, is there a way I can us it to do what I said ^above?

Thanx for all your help.

 

Keep it Real

&

God Bless

Posted

It's going to be kinda tricky to do it, mainly because when you get your search results, they are brought in through a listbox for osCommerce. That makes customizing your links page a little more difficult. Not impossible, just difficult. What I would suggest is go into your catalog/includes/languages/english/advanced_search.php, comment out the TEXT_NO_PRODUCTS, copy the rest of that line and change the define to something like this:

 

'<center>There are no products matching this category, please visit our affiliates!<br><br><a href:"http:\\www.mysite.com">Site Name</a><br><br></center>'

 

the <br> are used as spacers, or line breaks to help separate out everything, and you can add more to your anchor tags (<a>), including images and things like that. Just keep the information and the formatting inside of the <center></center> tags. This means that the information is going to be in one cell of the infobox.

 

That's what I would suggest at least. Good luck!

Posted
It's going to be kinda tricky to do it, mainly because when you get your search results, they are brought in through a listbox for osCommerce. That makes customizing your links page a little more difficult. Not impossible, just difficult. What I would suggest is go into your catalog/includes/languages/english/advanced_search.php, comment out the TEXT_NO_PRODUCTS, copy the rest of that line and change the define to something like this:

 

'<center>There are no products matching this category, please visit our affiliates!<br><br><a href:"http:\\www.mysite.com">Site Name</a><br><br></center>'

 

the <br> are used as spacers, or line breaks to help separate out everything, and you can add more to your anchor tags (<a>), including images and things like that. Just keep the information and the formatting inside of the <center></center> tags. This means that the information is going to be in one cell of the infobox.

 

That's what I would suggest at least. Good luck!

Thanx a lot! :thumbsup:

 

I tried something like that but it didn't work, I left out the <center></center> tags. Thanx again

Thanx for all your help.

 

Keep it Real

&

God Bless

Archived

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

×
×
  • Create New...