Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Basics for design


toyicebear

Recommended Posts

Try it like this

'<a href="' . tep_href_link(FILENAME_ANGELKOEDER) . '">' . tep_image(DIR_WS_IMAGES . 'payments.gif, IMAGE_PAYMENT_ALT) . '</a>'

Then in catalog/includes/languages/english.php add the following to the box information section

define('IMAGE_PAYMENT_ALT', 'your alternate text here');

That part is used for the alt text and title text.

Link to comment
Share on other sites

  • Replies 1.5k
  • Created
  • Last Reply
Well..its a general replay..

 

Since a lot of new users dont know where to start.....

 

:thumbsup:

 

And if someone have some particulars, they want to ask..please feel free....

 

 

I recently installed OSC it seem to be the right shopping cart for me, but I need to speed up my learning process. After reading your post, I decided to accept your offer. I submitted a test order to see how the checkout process works; everything went well except for the fields layout and information request. I need to make some changes in the create_account.php. I successfully change the form field location for Post Code from above City & State to below City & State. I will like to change Post code to Zip Code and Suburb: to Suite/Apt/Floor/Dept where can I find the php that is related to these fields. Also I could not find the php to change the post code location for (1) Update Address Book Entry, (2) New Address Book Entry. I will keep looking while waiting for your help.

 

Thank you in advance.

Link to comment
Share on other sites

I recently installed OSC it seem to be the right shopping cart for me, but I need to speed up my learning process. After reading your post, I decided to accept your offer. I submitted a test order to see how the checkout process works; everything went well except for the fields layout and information request. I need to make some changes in the create_account.php. I successfully change the form field location for Post Code from above City & State to below City & State. I will like to change Post code to Zip Code and Suburb: to Suite/Apt/Floor/Dept where can I find the php that is related to these fields. Also I could not find the php to change the post code location for (1) Update Address Book Entry, (2) New Address Book Entry. I will keep looking while waiting for your help.

 

Thank you in advance.

 

You can change the texts in the corresponding language files.

 

Ie. for english that would be..

 

includes/languages/english.php

 

and the files in this folder:

 

includes/languages/english/

Link to comment
Share on other sites

K, im SURE this has been asked before, but Im getting totally lost...

 

I want to add a background image. I know I need to edit it in stylesheet... but WHICH stylesheet? ive found 3 so far... I just keep going round and round...

My image is giftupandgo.jpg so the code should read..

 

BODY {

background-image : url(/images/giftbackground.jpg);

color : #800080;

margin : 0; }

 

 

right??

Link to comment
Share on other sites

K, im SURE this has been asked before, but Im getting totally lost...

 

I want to add a background image. I know I need to edit it in stylesheet... but WHICH stylesheet? ive found 3 so far... I just keep going round and round...

My image is giftupandgo.jpg so the code should read..

 

BODY {

background-image : url(/images/giftbackground.jpg);

color : #800080;

margin : 0; }

 

 

right??

 

 

In standard osCommerce its the css file name stylesheet.css located in the shops main folder.

Link to comment
Share on other sites

ok i have a couple things...i know you talked about placing a transparent gif to get rid of the corner right and corner left....the only thing is it doesn't explain what or how to get a transparent gif. i cannot figure out what a transparent gif is or how to make one to replace these files.

any help would be appreciated.

 

second question is how do you make the products sort automatically by price? right now they are sorting by product name as a default and i want it to sort by price as a default.

again any help would be appreciated.

 

thanks

www.goodguysbiodiesel.com

Link to comment
Share on other sites

ok i have a couple things...i know you talked about placing a transparent gif to get rid of the corner right and corner left....the only thing is it doesn't explain what or how to get a transparent gif. i cannot figure out what a transparent gif is or how to make one to replace these files.

any help would be appreciated.

 

second question is how do you make the products sort automatically by price? right now they are sorting by product name as a default and i want it to sort by price as a default.

again any help would be appreciated.

 

thanks

www.goodguysbiodiesel.com

 

 

You can find the gifs here....

 

 

You can change the product sort by manually modifying the index.php file

Link to comment
Share on other sites

You can change the texts in the corresponding language files.

 

Ie. for english that would be..

 

includes/languages/english.php

 

and the files in this folder:

 

includes/languages/english/

 

 

You was very helpful, I found all files and has edited them.

 

Thank you again.

 

I have another question? do know how to add a popup window to the product list. I'm using the product_list_col.php. I tried using Enlarge_Picture_Button_In_Product_List_Col_1-2b_1. that did not work for me. this is link to my store:http://www.getjiggyclothing.com/shop/index.php

Link to comment
Share on other sites

In standard osCommerce its the css file name stylesheet.css located in the shops main folder.

 

k, it still isnt working.... just dont know what im doing wrong. is my code wrong?

BODY {

background-image : url(/images/giftbackground.jpg);

color : #800080;

margin : 0; }

Link to comment
Share on other sites

You was very helpful, I found all files and has edited them.

 

Thank you again.

 

I have another question? do know how to add a popup window to the product list. I'm using the product_list_col.php. I tried using Enlarge_Picture_Button_In_Product_List_Col_1-2b_1. that did not work for me. this is link to my store:http://www.getjiggyclothing.com/shop/index.php

 

 

I solve the problem, I insert some caracters. change from

(0) if (tep_not_null($listing['products_image'])) to if (tep_not_null($listing[$x]['products_image']))

(1) $listing['products_id']) to $listing[$x]['products_id'])

(2) $listing['products_image']) to $listing[$x]['products_image'])

 

This an bug fix update for

Enlarge_Image_Button_In_Product_List_Col_1-2b_1

working with product_listing_columns_2_2_7

Link to comment
Share on other sites

You can change the product sort by manually modifying the index.php file

 

Can you show me the section in the index.php file where I would change to sorting the products by price please. I cannot find it. Thank you for the transparent gifs info! That worked.

Link to comment
Share on other sites

Can you show me the section in the index.php file where I would change to sorting the products by price please.

 

 

You can look for:

 

order by pd.products_name
Link to comment
Share on other sites

Hi,

 

I've been going through the posts - there are so many and all very useful - this contribution is a bit like a bible!

 

One question which I'm sure is asked and answered but I can't find, is how do you change the size of the image in the pop up window? I'd like it to be

bigger but can't figure out where to change the size.

 

Thanks

Link to comment
Share on other sites

Hi,

 

I've been going through the posts - there are so many and all very useful - this contribution is a bit like a bible!

 

One question which I'm sure is asked and answered but I can't find, is how do you change the size of the image in the pop up window? I'd like it to be

bigger but can't figure out where to change the size.

 

Thanks

 

The image in the pop-up is the size of the image you uploaded for that product. Ie. its not size adjusted at all.

 

 

If you wish to adjust the size you can modify this file: popup_image.php

Link to comment
Share on other sites

Okay so I found order pd. products_name but there are a few of them and when I change the word "name" to "price" it throws and error. Which one do I need to change cause there is a few. Also am I supposed to change the word "name" to "price"?

 

You can look for:
Link to comment
Share on other sites

The image in the pop-up is the size of the image you uploaded for that product. Ie. its not size adjusted at all.

 

 

If you wish to adjust the size you can modify this file: popup_image.php

 

Many thanks, I have uploaded larger images which has improved things, but how to I get the popup to open centrally and to show the entire larger picture? Currently the popup image is in a smaller window than the image itself.

 

Thanks

Link to comment
Share on other sites

Sorry to ask another question.

 

Do you know how to get the Product description to appear under the product image - I think it's the product_info.php file but can't figure out what to move, I've tried a few things with no luck.

 

Thanks

Link to comment
Share on other sites

Many thanks, I have uploaded larger images which has improved things, but how to I get the popup to open centrally and to show the entire larger picture? Currently the popup image is in a smaller window than the image itself.

 

Thanks

 

 

There are several contributions for pop-ups have a look in the contributions section

Link to comment
Share on other sites

Sorry to ask another question.

 

Do you know how to get the Product description to appear under the product image - I think it's the product_info.php file but can't figure out what to move, I've tried a few things with no luck.

 

Thanks

 

You will need to move this define, <?php echo stripslashes($product_info['products_description']); ?> , and ofcourse you will also need to change the relevant tables and layout to fit too.

Link to comment
Share on other sites

You will need to move this define, <?php echo stripslashes($product_info['products_description']); ?> , and ofcourse you will also need to change the relevant tables and layout to fit too.

 

Sorry to push my luck but any suggestions how I move those tables - I guess they are in the product_info.php file. I did have go but so far nothing I have done has made any difference.

 

Thanks

Link to comment
Share on other sites

Sorry to push my luck but any suggestions how I move those tables - I guess they are in the product_info.php file. I did have go but so far nothing I have done has made any difference.

 

Thanks

 

That is just basic HTML, if you dont know that... then read up on some beginner manual online....

 

Or use this Contribution/add-on

Link to comment
Share on other sites

Over the past couple of years I have had the privilege of being able to implement just a few of the many fine contributions here for which I am grateful. Unfortunately I now find myself in need of some expertise.

 

First, I am still using, as I have been successfully for 4 years now, version 1.43 of oscommerce.

 

Recently my provider upgraded my shared server. While we were notified of the upgrade, at the time we were not made aware that they were also changing the location of the shared security certificate which is on a separate server.

 

I have revised the HTTPS path in both catalog/includes/configure.php as well as catalog/admin/includes/configure.php files, yet the path indicated in the address window while viewing the page remains pointing to the previous server. Could there be a third file location where the path is being called from?

Vince Herchmer

Alberta, Canada

Link to comment
Share on other sites

Over the past couple of years I have had the privilege of being able to implement just a few of the many fine contributions here for which I am grateful. Unfortunately I now find myself in need of some expertise.

 

First, I am still using, as I have been successfully for 4 years now, version 1.43 of oscommerce.

 

Recently my provider upgraded my shared server. While we were notified of the upgrade, at the time we were not made aware that they were also changing the location of the shared security certificate which is on a separate server.

 

I have revised the HTTPS path in both catalog/includes/configure.php as well as catalog/admin/includes/configure.php files, yet the path indicated in the address window while viewing the page remains pointing to the previous server. Could there be a third file location where the path is being called from?

 

 

You are using quite an old version so its hard to say, from MS2 there are only to files...

 

includes/configuration.php

 

and

 

admin/includes/configuration.php

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...