Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 06/20/2019 in all areas

  1. 2 points
    raiwa

    Quantity already in cart message

    The stock is checked several times during checkout. The first time in shopping cart and the last time in checkout_process.php and the stock level change is done there (or in the payment module if the payment does bypass checkout process). So there is really very little probability or none that 2 customers will be at the same point in checkout process with the same product and access the databse for the stock check at exact the same second (or thousand part of second) if this is possible. Thinking loud I would say it is not possible to access and alter the database for more than one user at exact the same time.
  2. 1 point
    JcM footer Brands/Logo's V1.0 CE A simple add-on that allows you to display brand / logo’s in the footer
  3. 1 point
    very interesting addon. Hopefully someone can update it and upload a new version for the CE edition to the market.
  4. 1 point
    @puggybelle In the latest Community Edition, many of the paths are now hard coded. Find: $image_directory = DIR_FS_CATALOG . DIR_WS_IMAGES; and try changing it to something like this: $image_directory = DIR_FS_CATALOG . 'images/' ; (you may have to play with the leading and trailing '/' ) HTH Malcolm
  5. 1 point
    yes I think actually there are a couple of versions I've implemented this one on 2.3.4BS https://apps.oscommerce.com/E3EVx&usps-methods-rates-v4-intl-rates-v2-01 and there's also this https://apps.oscommerce.com/RpbDz&usps-with-dimensions-support-v-6-54-1
  6. 1 point
    The zip files posted will work but had an error which has now been fixed and it's beed added to the app's market with fixed files. JcM Product Info My Cart V1.1
  7. 1 point
    JcM Product Info My Cart V1.1 A simple add-on that allows you to display the shopping cart on the product info page. This allows the customer to seee what they have in there cart as they move from product to product.
  8. 1 point
    Tsimi

    Horizontal Categories Menu BS

    @Rosyweb Hi Ros You mean you just want to have the parent categories inside the menu without the sub-categories dropdown function right? If yes then do the following changes inside the classes/catmenu.php file FIND (around line 44) if (isset($this->_data[$category_id]) && ($level != 0)) { $result .= '<li class="dropdown dropdown-submenu"><a href="#" tabindex="-1" class="dropdown-toggle" data-toggle="dropdown">'; $caret = ''; } elseif(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) { $result .= $this->root_start_string; $result .= '<a href="#" tabindex="-1" class="dropdown-toggle" data-toggle="dropdown">'; $caret = ' <span class="fas fa-caret-down"></span>'; } else { $result .= $this->child_start_string; $result .= '<a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">'; $caret = false; } REPLACE WITH /* if (isset($this->_data[$category_id]) && ($level != 0)) { $result .= '<li class="dropdown dropdown-submenu"><a href="#" tabindex="-1" class="dropdown-toggle" data-toggle="dropdown">'; $caret = ''; } elseif(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) { $result .= $this->root_start_string; $result .= '<a href="#" tabindex="-1" class="dropdown-toggle" data-toggle="dropdown">'; $caret = ' <span class="fas fa-caret-down"></span>'; } else {*/ $result .= $this->child_start_string; $result .= '<a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">'; $caret = false; // } Now you should only see the parent categories without any dropdown feature. The show image function still works if needed. If you use this together with the XS menu, which you shouldn't if you only use parent categories, then you'll have to add the following changes to the classes/catmenu_xs.php file. FIND if (isset($this->_data[$category_id]) && ($level != 0)) { // HAS MORE SUBCATEGORIES $result .= '<li><a href="#">'; } elseif(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) { // PARENT HAS CHILD CATEGORIES $result .= $this->root_start_string; $result .= '<a href="#">'; } else { // NO SUBCATEGORIES $result .= $this->child_start_string; $result .= '<a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">'; $caret = false; } $caret = ''; $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level); // CATEGORY NAMES $result .= $link_title . (($caret != false) ? $caret : null) . '</a>'; if(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) { // show parent category link // $root_link_title = '<strong><span class="fas fa-list fa-lg"></span>&nbsp;' . $link_title . '</strong>'; $result .= $this->parent_start_string; // divider added for clarity // if (MODULE_CONTENT_HEADER_CATMENU_XS_DIVIDER == 'True') { $result .= '<li style="border-bottom:solid 1px #e5e5e5;"><a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">' . $root_link_title . '</a></li>'; } else { $result .= '<li><a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">' . $root_link_title . '</a></li>'; } $result .= $this->_buildHoz_xs($category_id, $level + 1); $result .= $this->parent_end_string; $result .= $this->child_end_string; } else { $result .= $this->root_end_string; } REPLACE WITH /* if (isset($this->_data[$category_id]) && ($level != 0)) { // HAS MORE SUBCATEGORIES $result .= '<li><a href="#">'; } elseif(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) { // PARENT HAS CHILD CATEGORIES $result .= $this->root_start_string; $result .= '<a href="#">'; } else {*/ // NO SUBCATEGORIES $result .= $this->child_start_string; $result .= '<a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">'; $caret = false; // } // $caret = ''; // $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level); // CATEGORY NAMES $result .= $link_title . (($caret != false) ? $caret : null) . '</a>'; /* if(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) { // show parent category link // $root_link_title = '<strong><span class="fas fa-list fa-lg"></span>&nbsp;' . $link_title . '</strong>'; $result .= $this->parent_start_string; // divider added for clarity // if (MODULE_CONTENT_HEADER_CATMENU_XS_DIVIDER == 'True') { $result .= '<li style="border-bottom:solid 1px #e5e5e5;"><a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">' . $root_link_title . '</a></li>'; } else { $result .= '<li><a href="' . tep_href_link('index.php', 'cPath=' . $category_link) . '">' . $root_link_title . '</a></li>'; } $result .= $this->_buildHoz_xs($category_id, $level + 1); $result .= $this->parent_end_string; $result .= $this->child_end_string; } else {*/ $result .= $this->root_end_string; //} That should do it.
  9. 1 point
    lindagriffithh

    17 Years Young!

    Now is 19 years!
  10. 1 point
    raiwa

    Categories different rows

    Add to the relevant product listing class a min-height value that allows to fit the max number of lines you have in your store. Products with less lines should keep then additional white space.
  11. 1 point
    that depends on how you set up the store, In stock osC you can select if checkout is posiable with zero stock in admin. If you use my no stock button add-on it overides stock osC as the button is didabled so you can not add the product to cart once it is zero stock. So belt and braces turn checkout false in admin and use no stock button, which you need to do in product listings as well. I'm sure it could be done better so that if no checkout on zero stock is set in admin all add to cart buttons get automaticly disabled and show no stock. That however is for a pro.
  12. 1 point
    Hi @Cary , If it does not copy the alternative images it is because I maybe had forgotten to implement that feature... I will check that and respond back as soon as possible...
  13. 1 point
    bonbec

    Categories different rows

    If you use Firefox, install the addon web developper, you can place external lines to all your images. See the screenshot. Your pictures are perfect, nothing to say. This is the text under the photos pictures that does not have the same length: 1, 2 or 3 lines, which is what causes the display to be defective.
  14. 1 point
    This is where the product no stock button add-on will be usefull as the person will see the status turn to "out of stock" as soon as checkout is completed and they refresh page. You could also use the product info New JcM Stock Date Available add-on as that too will update to show no stock However the Your shopping cart is not beeing updated it still show 1 item in the cart and you have to manualy remove that item.
  15. 1 point
    I think it is the default logic. I guess this is what you had in mind? I had it custom coded by someone at this forum. Thanks, Eddy
  16. 1 point
    Ok just checked and item with sock of 1 is able to be added to the cart of more than one person at the same time. Checked on CE Frozen and Edge. To much hassle to checkout simultaneously check out! not sure how you would achive that, also very unlikly that both would stay in sync all through check out. First one to finish gets the order, second one will see sorry out of stock and can finish depending on your store settings. That's what I found on testing.
  17. 1 point
    ArtcoInc

    Remove items from cart

    @JACUK fwiw ... I modified my Shopping Cart drop-down to include a 'Checkout' link, and removed the 'Checkout' from the NavBar ... I think that it's better for the customer to View their cart, and then can remove items individually there. But, it's your store ... ..... Thinking about it more, as shown above, the part number in the drop-down is a link to that item's page. Depending on the length of your part numbers, and the size of your drop-down, I don't see why you couldn't add a small 'Delete from Cart' button between each part number and the cost. Coding that would be up to you, of course. HTH M
  18. 1 point
    JcMagpie

    Quantity already in cart message

    Try this, JcM Product info My Cart.zip
  19. 1 point
    puddlec

    Sendmail - no emails from checkout

    one thing you can try is. https://www.mail-tester.com it will have a look at your email, to see if anything can be done to improve it, could be something in the email triggering a blacklist. also make sure you got at least one email address added to Send Extra Order Emails To
  20. 1 point
    MrPhil

    Transactional email service

    I think we've got 2 or 3 different issues mixed together here: Excessive volume of emails (exceeding host's per-minute, per-hour, per-day caps). You need to find out from your host what the limits are. Unless they are ridiculously low, or your site is very, very busy; routine emails such as order confirmation should not be a problem. Newsletters and other such mass-mailing rates have to be low enough to not to interfere with routine emails. It's possible that you will need to use an external service to handle newsletters and other mass mailings. Newsletters and other "not necessary" communications (mass mailings) have to be explicitly "opt in", to avoid legal problems and accusations of spamming. Don't forget in every mailing to right at the top remind the reader that 1) they had signed up to receive the communication, and 2) how to easily unsubscribe (without reporting your store as a spammer). If your host (or other systems, such as Yahoo or Gmail) are flagging the content of any of your emails as spam, you will need to adjust the wording and contents to pass the spam tests. Certain words, certain phrases, an excessive number of links, etc. might have to be changed.
  21. 1 point
    JcMagpie

    how to manage heaps of images

    😊 Try this will do all images. Have as many subdir.. as you like , I based on this add-on. Working fine on CE Edge. file attached as allways backup first. http://forums.oscommerce.com/index.php?showtopic=347582 categories.php
  22. 1 point
    burt

    Marketplace Category/Version Cleanup

    Frozen is a year old and I have been *begging* for help to move it on, my pleas are heard only by very few. Frozen is now out of date and is EOL. "Edge" is where my focus is and that is done in my spare time, help me to make more spare time.
  23. 1 point
    Just remember that taking your own pictures, while protecting you from copyright violation claims, does nothing to protect you from claims that you are infringing on a trademark. You still should get permission to carry and promote a product.
  24. 1 point
    Interesting. Can you elaborate on how this is supposed to work? I assume it means that any ad-hoc hard-coded queries will fail to be updated on the fly, and only those going through a "proper" glue layer will get the desired prefix (hello, broken add-ons). I'm wondering how that is any improvement in readability and execution speed over TABLE_* constants in code (yes, they need to be looked up and substituted too). If it's a clean way to add a prefix to all osC tables, that might be usable, although I can think of cases where you might want to prefix only selected tables (e.g., while testing a change where you have a different table structure, and want to preserve the old one for possible reuse). Any thoughts on this?
  25. 1 point
    OK, some hosting accounts are limited to one database, so if you want osC in addition to another application, you have to be careful that your table names (all in the same database) don't collide. The easiest way to do this is with a prefix, such as osc_. Now, if your table names are hard coded (inline) everywhere, you have to look at every possible place that a table name is mentioned, and change it there. That, instead of changing it one database_tables.php file. A one time job, you say? How about if you want to run two copies of osC, such as a production and a development copy with osc1_ and osc2_? You have to do it again. Use global search and replace, such as the sed utility? OK, instead of "TABLE_PRODUCTS" you have "products". How do you easily keep from hitting an innocent text string in a comment or message, rather than just where it's used as a table name? I suspect that those clamoring for table names to be inlined for clean code, simply haven't thought it through all the way. On the other hand, I can't think of any legitimate reason a user would need to change file names, so inlining file names is probably harmless. Examples of harm are welcome.
×