Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where is the file for the shopping cart


redbugweb

Recommended Posts

Posted

I'd like to change the line where it says the item is out of stock on the shopping cart page if the customer orders something out of stock. I need it to say they can still place the order, but shipping will be 2-1/2 wks.

Posted

I found the part for that. But how can I change the text size? I have searched through the stylesheet and can't find it for anything.

Posted

I looked there and can't find a place to change the text size. I assumed it was in the stylesheet.css file but I have changed everything that looks like it might be the one and haven't found it yet. help!

Posted

If you post (or PM me) a link to your site, I can help you.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

http://ktstamps.com/cart/catalog/shopping_cart.php is the site I'm working on. I'd like to make "Products marked with ** do not exist in desired quantity in our stock.

Delivery for out of stock items will be 2-1/2 weeks." larger and maybe bold.

 

Also, how can I change the text that shows up at the top of the main page and the shipping info page? Like where it says, welcome Guest. I found the part to modify the "guest" but not the rest of the text.

 

Thanks!

Posted

Can you give me a specific item I can add to the cart to get that message?

 

I've added a dozen things and still don't get it..

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Never mind..

 

I see it...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
http://ktstamps.com/cart/catalog/shopping_cart.php is the site I'm working on. I'd like to make "Products marked with ** do not exist in desired quantity in our stock.

Delivery for out of stock items will be 2-1/2 weeks." larger and maybe bold.

 

Also, how can I change the text that shows up at the top of the main page and the shipping info page? Like where it says, welcome Guest. I found the part to modify the "guest" but not the rest of the text.

 

Thanks!

the best thing to do is not display item quantities and simply send them an eamil letting them know that the item will be shipped in the specified time frame. Put something in your policies to reflect this as well.

Posted

This:

 

I'd like to make "Products marked with ** do not exist in desired quantity in our stock.
Delivery for out of stock items will be 2-1/2 weeks." larger and maybe bold.

Is controlled by this in your stylesheet:

 

.stockWarning { font-size : 12px; color: #7E83A; }

The way you can tell is by looking at the HTML source:

 

		<td class="stockWarning" align="center"><br>Products marked with ** do not exist in desired quantity in our stock.<br>Delivery for out of stock items will be 2-1/2 weeks.</td>

Sometimes when you make a change to a page, especially the stylesheet, you may be looking at your cache'd version.

 

To see changes, you may have to force the browser to fetch the latest content by holding down the <Ctrl> key while doing a "Page refresh".

 

This works with IE and Firefox.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

The text on the main page is in /catalog/includes/languages/english.php

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

I think that's what you want.

 

I'm not sure what "shipping info page" you're referring to about the other change.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thanks! I fixed the first problem and made the product out of stock message bigger and bolder.

 

On this page http://ktstamps.com/cart/catalog/shipping.php I want to make the text bigger where it says "All orders will be shipped using the US Postal system. Items in stock will be shipped within 1-2 business days. Items out of stock will be shipped with 2-1/2 weeks."

Posted

Again, looking at the HTML source gives you the answer:

 

			<td class="main"> All orders will be shipped using the US Postal system. Items in stock will be shipped within 1-2 business days. Items out of stock will be shipped with 2-1/2 weeks. </td>

Although in this instance, if you change the "main" class you'll alter more than just that part. That class is used all over the place in osC.

 

If you want to change that line only, in your stylesheet add a new class:

 

TD.mainShip {
 line-height: 1.5;
 font-color:#000000;
 font-size: 12px;
}

Then in your /cart/catalog/shipping.php find this code:

 

			<td class="main"><?php echo TEXT_INFORMATION; ?></td>

Change it to:

 

			<td class="mainShip"><?php echo TEXT_INFORMATION; ?></td>

Then alter the new stylesheet class you just added to suit your requirements for that text on that page.

 

That way, all you change on the site is that one line, with it's own class.

:thumbsup:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...