Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nigelt74

Pioneers
  • Posts

    81
  • Joined

  • Last visited

Everything posted by nigelt74

  1. yep thats what i did Just commented out the code shippingcart.php /* $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { ?> <div class="clearfix"></div> <p class="text-right"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></p> <?php reset($initialize_checkout_methods); while (list(, $value) = each($initialize_checkout_methods)) { ?> <p class="text-right"><?php echo $value; ?></p> <?php } } */ Just in case anyone else is looking to do it
  2. Hi Guys My site uses a Discount code add-on so we want people to go through the payment page. Currently Paypal express puts a checkout with paypal button on the shopping cart page, is there a way to turn this off on the shopping cart page only, we still want it to appear on the payment options page. I don't have a problem editing the relevant file to remove it, I just want to check that there isn't an admin switch somewhere that i haven't missed Thanks Nigel T
  3. @@auzStar cheers thats it The testimonials link is my fault I have actually rewritten an add-on to allow me through the admin side to dynamically add pages and links (and order them how I want) to a navbar/ or sidebox and i pasted the link in incorrectly, thanks as I never would have though of that. Thanks again
  4. Ok testimonial 1.3bs on 2.3.4bs works fine so far (even managed to import old data from previous version) Only issue and a bit odd at that, is that the glyphicons on the sites navbar do not work on either of the testimonial pages all other pages they work on Note I am not using the scrolling testimonials bit so haven't enabled the header doohickey I can send you a link if needed, just can't share on an open forum at the moment Cheers
  5. What they want Basically the ability to update and create pages (about us, FAQs, Community Events etc) with uploading images on them if required, also it would be nice if they could choose where to locate the menu item, eg in a menu bar or in the footer etc, there don't appear to be more than a dozen or so pages needed, its just a case of being able to do it without needing to get a web developer in to make it work From what I can tell with the existing CMS plugin they can update pages and upload images, however when they create a new page they need to manually add code calling that page where they want it to appear or it won't show up. I am aware its not a true CMS but thats what the plugins seem to be called and I went through a lot of them trying to find which one is installed, If I am searching under the wrong terminology please let me know as i can't find a plugin that will do all they want. If there is one let me know As a last resort I had thought I could expand the existing CMS plugin to have options as to where the pages are placed, by placing a header menu and footer menu (obviously that can be turned on and off as required) and using database calls to dynamically populate them with the pages created
  6. Ok i have taken over a site that was installed in 2008 (2.2 RC2) and has had no updates since (Well apart from those added by your friendly neighbourhood hacker) It has a CMS plugin, and the owner wants that functionality I am pretty sure the existing plugin is the 2008 Version of this one http://addons.oscommerce.com/info/3476 The most current version of it being a fork here released to work with 2.3.1 http://addons.oscommerce.com/info/8939 Anyway I have updated the site to (2.3.4) . (wiped all files) Thanks for any suggestions and i am off to bed
  7. No worries, solved them all, I hadn't downloaded the relevant files from the server
  8. Hi Dave, Where did you change the link to the image?? you should have changed it in this section of code catalog/includes/header.php <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle">< ?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> </tr> </table> Have if you have done this, then have you HARD refreshed your browser ctrl shift R for firefox ctrl F5 for IE
  9. Hi ToyIceBear How do i get rid of the gap between the boxes as in i would like the left hand side to appear to be one solid column rather than a collection of boxes Also how do i set the width of oscommerce as i have tried altering the width in the CSS, but the layout goes out really weirdly, is there a trick to it as i have to fit it into an iframe thats about 550px wide Also getting rid of the right hand column, as in removing the code below, it is only contained in the files in the catalog directory, no other strange places? Cheers
  10. Hi all I don't need any of the fancier option, My client wants to sell some personalised greetings card (amongst 100s of other products) and i just need to be able to add a couple of text boxes to some products so i can get the customers name, sibling etcs the site i want it to look Like is this one, when i queried what contribution it was here I was told it was this one (CCC9) will the standard ccc9 do this, sorry most of the sites i have viewed related to this thread have radio box and selectors etc none of which i need, I think from what i have seen it will, but i am not 100% sure anyhelp would be appreciated
  11. Thanks that looks like what i was after, i ended up manually hacking the files to achieve what I wanted, but I may try installing that contribution to give me better category descriptions
  12. Hi wendy I noticed on this site http://www.fragrantbodyoilz.com that there is a menubar with the categories on it, under the picture is there a contribution that does this? or are they just links added to the header bar
  13. Direct Credit = Bank deposit or bank transfer, Basically when a client deposits or transfers money straight into your bank account, we call them direct credit here, guess the terminology is different elsewhere Thanks for all the help so far
  14. Hi all My client wants 3 different payment options Paypal Creditcard - merchany bank Direct credit Can you have 3 different options? Paypal I have seen a number of paypal modules and some discussion about problems if the customer doesn't return to the site, is this still the case, doesn't the ipn module solve this Credit card Is there a template for designing a connection to a banks gateway. Direct Credit I can't see a module for this, but it is fairly common over here, Also I want to make sure i don't end up in the situation where i receive payment , but have no idea what was ordered, as i see that has happened to a few people Anyhelp would be appreciated
  15. Ignore me, there needs to be a "delete post 20mins after posting" button as I spend ages trying to find a solution, then once i've posted and can't edit the post, The brain clicks into gear and the answer becomes obvious
  16. Where are the breadcrumbs located/defined? as i want to change the colour What is it supposed to look like are the announcements and ratings supposed to be under the main body?
  17. No worries problem solved added a condition to the function, fo that particular icon included below for anyone else who might have a similar problem /functions/html_output.php function tep_image_submit($image, $value = '-AltValue-', $parameters = '') { global $language; if ($image == 'button_quick_find.gif') { $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"'; if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "'; if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters; $image_submit .= '>'; return $image_submit; } else { $css_submit = '<input type="submit" class="cssButton" value="' . tep_output_string($value) . '" />'; return $css_submit; } } And of course removed my alterations on the search.php page Thanks all
  18. Yeah i thought as much, nothing else i have tried has even got that far, Any suggestions on how to tackle it?, I thought of creating a new function but finding where these things are defined etc got me absolutlly lost Thanks
  19. replacing CSS button with graphic button Ok I thoought i had followed the instructions but I can't seem to get it to work properly this is for the search button on the search box, i can get it to appear, but it's not clickable the relevant code is below 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . '<br>' . tep_image('http://nigel.geek.nz/catalog/includes/languages/english/images/buttons/button_quick_find.gif', BOX_HEADING_SEARCH) . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); Anyhelp would be appreciated, Cheers
  20. to remove the counter thing go to includes/footer.php <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> CHANGE TO <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ //require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> </td> </tr> </table> <br> as for the "what's new here" stuff, if you find it let me know, I think there is a contribution that changes it to the category name, but I see these things and think "must bookmark that" and promptly forget
  21. Ok I have sort of fixed my problem, i assigned the "cssbutton" class to a link and place it inside the form and it seems to work, The only problem is it doesn't display correctly in Firefox or opera, it displays fine in Internet explorer, but i would like to have it displaying well in all browsers - I have tried -- setting a fixed width and height inside the link, but to no avail -- Kicking the computer, but to no avail I realise this is a browser issue and probably outside the scope of the help for this contribution but even being pointed in the right direction would be appreciated Cheers
  22. CSS buttons Hi What i am trying to do is have a "more info" button that takes the client to the product description page, I have it woking but i can't get the layout working correctly see here what i want is More Info | Buy Now To get the "more info" button working I had to create a form and assign it to a submit button as below $lc_text .= tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_more_info.gif', 'More Info'); is there anything else i can assign the css button thingie too, so i can put the more info button where i want or does it have to be assigned to a tep_image_submit Thanks
  23. Hi jo To remove the extra boxes go to your catalog/includes/column_left.php file (or catalog/includes/column_right.php depending on what you want to get rid of) and comment out the appropriate lines left hand side if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> To remove the Whats New change it to this if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } //require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> For the right hand side require(DIR_WS_BOXES . 'shopping_cart.php'); if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_BOXES . 'best_sellers.php'); } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'best_sellers.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } ?> change to (remove reviews and currencies) require(DIR_WS_BOXES . 'shopping_cart.php'); if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_BOXES . 'best_sellers.php'); } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'best_sellers.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } //require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); //include(DIR_WS_BOXES . 'currencies.php'); } ?>
  24. For firefox CTRL + SHIFT + R is the "hard refresh" Excellent contribution thingie, worked first pop If we are allowed to make suggestions for future versions? -- You got rid of those annoying cartoon icons, how about getting rid of the "Let's See What We Have Here" text and replacing it with the category name, - (I still haven't figured out how to do this) Cheers
  25. found the error had to change 'text' => " " to 'text' => ' '
×
×
  • Create New...