redbugweb Posted April 17, 2008 Posted April 17, 2008 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.
redbugweb Posted April 17, 2008 Author Posted April 17, 2008 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.
alfredoscorpion Posted April 17, 2008 Posted April 17, 2008 probably you should a look in /includes/language/shopping_cart.php, there you'll flnd a set define variables.
redbugweb Posted April 18, 2008 Author Posted April 18, 2008 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!
germ Posted April 18, 2008 Posted April 18, 2008 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 >
redbugweb Posted April 18, 2008 Author Posted April 18, 2008 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!
germ Posted April 18, 2008 Posted April 18, 2008 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 >
germ Posted April 18, 2008 Posted April 18, 2008 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 >
Yrewol Posted April 18, 2008 Posted April 18, 2008 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.
germ Posted April 18, 2008 Posted April 18, 2008 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 >
germ Posted April 18, 2008 Posted April 18, 2008 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 >
redbugweb Posted April 18, 2008 Author Posted April 18, 2008 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."
germ Posted April 18, 2008 Posted April 18, 2008 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 >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.