Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How does this thing work?


Guest

Recommended Posts

Posted

I have been sitting here for days trying to configure my store. It is a pain in the #$%^! I have figured out some things but apparently you have to edit the php files to format some stuff (?). I'll Start with the latest thing I cannot figure out --

 

I :'( want to edit the page that shows the product details. I do not have a graphic on the page (I actually figured out how to remove that). The Product Title is on the left and on the same line the Product Price is on the right ******** I want the Price under the Title

 

The Product Description is tiny ********* I want to change to font size

 

I also have other "fields" that I would like to have in my Product like ISBN and SKU but I do not know how I would do that. I was thinking of useing the Manufacturer field for one of them. Any thoughts??!!??

 

 

Please help, I am getting a huge headache trying to figure this out :angry:

Posted

Hi,

 

Welcome to the fun world of oscommerce. It can be complicated especially at first until you have been using it awhile, then it gets easier. I guess it would be even easier if we were programmers, but unfortunately I am not.

 

Anyway, as far as product font. I use html coding in my product descriptions to change font size, color and to add pics.

 

I have not needed to add more product fields, but I did a quick search in the contribs and found this one, there may be others:

 

http://addons.oscommerce.com/info/2202

 

I am not sure of how to change the price to show up under the product name, but if I see anything on that I will let you know. It is probably somewhere in product_info.

 

I have found that sometimes if I can't find the answer in this forum, I have had some success doing a google search with it and get lucky.

 

I hope this helps. Post back with any additional questions.

Posted

Thank you so much for the information! The HTML in the Product Description works great!

 

I reviewed to product_info.php to try and move the price and have tried changing this:

 

for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

switch ($column_list[$col]) {

case 'PRODUCT_LIST_MODEL':

$lc_text = TABLE_HEADING_MODEL;

$lc_align = '';

break;

case 'PRODUCT_LIST_NAME':

$lc_text = TABLE_HEADING_PRODUCTS;

$lc_align = '';

break;

case 'PRODUCT_LIST_MANUFACTURER':

$lc_text = TABLE_HEADING_MANUFACTURER;

$lc_align = '';

break;

case 'PRODUCT_LIST_PRICE':

$lc_text = TABLE_HEADING_PRICE;

$lc_align = 'right'; break;

 

to this:

 

case 'PRODUCT_LIST_PRICE':

$lc_text = TABLE_HEADING_PRICE;

$lc_align = 'left'; break;

 

and also this:

 

case 'PRODUCT_LIST_PRICE':

$lc_text = TABLE_HEADING_PRICE;

$lc_align = ''; break;

 

but it didn't move the price any. Maybe that isn't what needs to be changed to move the proce but it is the only thing I can see in that file indicating an alignment.

 

 

Also, thanks for the link to the contrib. It looks like I might be able to figure the additional fields thing out if I can get access to my database tables. At this time my Web Host is telling me the "engineers" are trying to set up access to them for me. I do not understand why they thought they needed to be hidden in the first place. Anyway, I cannot modify any tables until that is done.

 

Would you happen to know how I can a uniquely designed box to the side of my sight under the Information box?

Posted

Loads of answers to frustrating questions can be found in the knowledge base

 

http://www.oscommerce.info/kb/osCommerce/C...sign_and_Layout

 

Font size changes, colours etc are normally done in stylesheet.css.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
Font size changes, colours etc are normally done in stylesheet.css.

 

Thanks for the reply. Speaking of style sheets...

 

I have edited the Stylesheet in the Stylesheet Manager - is their more than that one? I still haven't figured out what all the settings pertain to. I have some set at whacky colors so that I notice them when they appear but have never seen them on my site.

 

I went to http://www.oscommerce.info/kb/osCommerce/C...sign_and_Layout and Catalog Stylesheet Definitions stated "TD.productListing-data -- Set a different background color for the product listing table and also set box padding, size, borders". Okay, so I changed the font size there and it changes the font size on my "Products meeting the search criteria" page NOT on the Product Detail page (the one that shows 1 product at a time). The word "Detail" isn't even on in the Catalog Stylesheet Definitions page. So maybe you can see why I am frustrated. Even the directions are misleading.

 

Any other suggestions on this would be welcome... Thanks!

Posted

Did the style sheet manager change the file stylesheet.css in the root of your shop?

 

I never trust these new fangled tool cos I can't see what they are doing.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Also, I just decided I would like to highlight every other line in the Product Listing Page (the one that shows with the search results). Anyone know how to do that? Here is what I would like it to be...

 

Quantity Price Title

1 $7.77 This is the title

1 $4.40 This is the second line

1 $9.76 Third line

1 $1.00 And so on...

 

Sorry about the formatting above - couldn't figure out how to get a highlight on the text. Anyway the Top Line is in one background color and then line 2, 4, etc. would be highlight in a light color.

 

AND, the Price and Title are really close to each other, can I spread them out?

Posted
Did the style sheet manager change the file stylesheet.css in the root of your shop?

 

I checked and the Stylesheet Manager is updating the stylesheet file you mentioned. I just cannot seem to find the control that will change the Product Detail page. I have read other peoples post that they also use html in the description. ??

Archived

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

×
×
  • Create New...