Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

General Questions regarding osC Modifications


talon177

Recommended Posts

Hey everyone,

 

Just wanted to say that I've been on osCommerce 24/7 basically for the past month and have gained a lot of experience with osCommerce and php/mysql, i would still consider myself a php newbie, but my store is almost complete. I had a few quick questions, i hope someone might know the answers of.

 

Back to Top Link:

 

Does anyone happen to have a solution on how to go about adding a "Back to Top" link?

 

<a name="TOP"></a>

 

<a href="#TOP">Back to Top</a>

 

In osCommerce pages are called so this code above would bring you back to the main index.php rather than http://www.yourwebsite.com/index.php?Cpath=1 for example.

 

Column Product Listing

 

Currently when switching from product row listing, to column product listing the max display is 20 products per page, anyone happen to know where I could go to make it to 21 for product column listing?

 

 

Thanks in advance!

Link to comment
Share on other sites

Another thing I just thougt of,

 

Search Quick Find Icon:

 

I noticed that the icon is higher than normal, is there a way to fix this to be at the same level the search string input is?

 

If you go to http://www.oscommerce.com/osCommerce22ms2/ and look at the Quick Find box on the left hand column, you can see that the quickfind icon is like 5 pixels above the bottom of the input line.

 

Thanks.

Link to comment
Share on other sites

Is there a way to set osCommerce to match server time, or vs versa? Right now my server is in the east coast which is 3 hours ahead, so products that would be bought today are counted as tommmorow, and new items today would say coming tommorow.

Link to comment
Share on other sites

Column Product Listing

 

Currently when switching from product row listing, to column product listing the max display is 20 products per page, anyone happen to know where I could go to make it to 21 for product column listing?

 

Change it in Admin -> Configuration -> Maximum Values -> Search Results

 

 

Search Quick Find Icon:

 

I noticed that the icon is higher than normal, is there a way to fix this to be at the same level the search string input is?

 

See here:

http://www.oscommerce.com/forums/index.php?showtopic=83876

Link to comment
Share on other sites

JulieCSM: Thanks for the Info!

 

To Recap:

 

Back to Top Link:

 

Does anyone happen to have a solution on how to go about adding a "Back to Top" link?

 

<a name="TOP"></a>

 

<a href="#TOP">Back to Top</a>

 

In osCommerce pages are called so this code above would bring you back to the main index.php rather than http://www.yourwebsite.com/index.php?Cpath=1 for example.

 

osCommerce Time

 

Is there a way to set osCommerce to match server time, or to set it -3 hrs. Right now my server is in the east coast which is 3 hours ahead, so products that would be bought today are counted as tommmorow, and new items today would say coming tommorow if i added them at night.

 

Thanks again!

Link to comment
Share on other sites

Thanks, but that actually doesn't work, it just makes the whole row bigger lol. Nice try though.

of course it works, i added 2 px on top and removed 2px from the bottom,

which actually has the effect that the image is now placed lower :P

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

Berkedam: Thanks for the suggestion, but I believe that makes the row height bigger. A solution that I have found is that you can put the search through a table, and that'll fix it.

 

Do you happen to know where I can find info about how to adjust osC to be -3 hrs behind server time? Or how I could do a back to top link that actually works per page?

 

Thanks!

Link to comment
Share on other sites

Berkedam: Thanks for the suggestion, but I believe that makes the row height bigger. A solution that I have found is that you can put the search through a table, and that'll fix it.

 

Do you happen to know where I can find info about how to adjust osC to be -3 hrs behind server time? Or how I could do a back to top link that actually works per page?

 

Thanks!

 

believing is dangerous, people are known to have spent a lot of money on scams involving the sale of the Statue of Liberty, the Eiffeltower, London Bridge a.s.o

 

i modified the image, so i know it works and it does not with 1px increase the height :D

 

on server and date time differences: believe me there is a thread about it.

http://www.oscommerce.com/forums/index.php?showtopic=76994&hl=

 

on "back to top"

goto:

index.php

change:

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

into:

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<a name="TOP"> </a>

and change:

</body>

</html>

into:

<a href="#TOP">Back to Top</a>

</body>

</html>

believe me if i say on my pages it works

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

  • 2 weeks later...

Does anyone know how I can add a view all link on the product listing page. For example if you use column display and show 20 items per page and have 3 pages which equals 60, what code could i use so viewers can click View All to show all 60 on 1 page. I think this would help a lot of viewers, especially a shopper like myself.

 

Thanks.

Link to comment
Share on other sites

"All products" contrib.

9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard)

 

Replace that and you're fine...

Link to comment
Share on other sites

Actually I wasn't looking for a contrib, i was merley looking for a way for the user in a certain category lets say hardware to click view all to show the listing of all hardware in 1 page, instead of 5 pages. Not an entire list of all inventory, that would be crazy with 10k products.

 

Thanks

Link to comment
Share on other sites

Also is there a contribution for Search by Category or a hack?

 

What i've seen on some stores is that theres a drop down menu with your categories next to the search input and you would select lets say computers, and then in the input say pentinum 4, therefore it would search in the category of computers and look for pentinum 4.

 

Thanks for the help

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...