Jump to content
vampirehunter

Index.php and product listing absolutely awful coding, impossible to modify

Recommended Posts

@@vampirehunter

 

You will find it easier to style the product listings if they are coverted to div or ul. For one thing you can control the number of columns simply by setting the width of each product listing in the stylesheet. Tables are better for listing data where you are relating the x-axis to the y-axis (ie a chart with a set heading along either or both the x and y axis), but product listings are simple lists you are stacking up like bricks or legos.

 

Thanks yes, that is the issue im having.

 

Since i will only have 4 products per row, i can fix these with the stylesheet.

 

And the only thing i want in each product div will be the image, and underneath product name and price, thats it.

 

 

Could you have a look at the 2.3.3 product listing.php file and let me know roughly what i should change?

 

Also, check out this thread here. You might find it useful and it should be able to work on your 2.2rca version as well.

 

http://forums.oscommerce.com/topic/389398-help-on-way-to-extract-sorting-functions-for-columns-and-to-put-into-fixed-text-hyperlinks/page__fromsearch__1

 

I've managed to finally find a way to create custom fixed sorting single hyperlinks that will sort any product columns such as price, date added, quantity or any others.

They are not in dropdown boxes, but im sure there is a way of putting them into dropdowns if needed. Maybe you can have a look?

Edited by vampirehunter

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×