Jump to content

raiwa

♥Ambassador
  • Content count

    3,450
  • Joined

  • Last visited

  • Days Won

    114

Posts posted by raiwa


  1. Hello Kevin @Kevin.Dallas,

    Thank You! I'm back and had a look into the package.

    You'll find the shopping cart content module in:
    catalog/includes/modules/content/shopping_cart/

    Please see instructions:
    Discount_Codes_4.2_for_BS_install:


    1. Copy the new files to your osCommerce shop, preserving the directory structure.

    ...


    *OPTIONAL
    catalog/includes/modules/content/shopping_cart/cm_sc_discount_code.php
    catalog/includes/modules/content/shopping_cart/templates/discount_code.php
    catalog/includes/languages/english/modules/content/shopping_cart/cm_sc_discount_code.php

    ...

    *OPTIONAL
       Install the Content module under Administration -> Modules -> Content -> Install Module -> Discount Code -> Install Module.

     

    To be able to use the shopping cart content module you need to have one of the following conditions fullfilled:

    - use a newer BS version which have the content module call already included in shopping_cart.php
    ( edge 2.3.4 is not a clear reference, there are hundreds of versions. Important in this case is to have the content module call included in shopping_cart.php)
    - use modular shopping cart
    - add manually the content module call to your shopping_cart.php:

    <div class="clearfix"></div>
    <div class="row">
      <?php echo $oscTemplate->getContent('shopping_cart'); ?>
    </div>

     

    You may consider to use ship in cart which will show shipping costs and real order totals (including discount) already on the shopping cart page. On that way your customers know what they will have to pay before using the PayPal express checkout button:
    Ship In Cart BS reloaded

    Best regards
    Rainer

    PS: Next time, before starting to work on an addition, just ask here in the forum, there may already exist a solution 😉.


  2. Kevin, it seems there is a misunderstood. please tell us your exact coupon code version and store version. The coupon code Bs this thread is for DOES include the content module for shopping cart and does not require any additional coding.

    I just had a look on your code and it is for a very outdated oscommerce version. It uses filaname and path constants which the BS community version has removed since time.


  3. Hello Kevin,

    Please re-read this part of my answer:

    1 hour ago, raiwa said:

    This thread is for Discount Code BS which already does include a content module for shopping_cart.php where to enter the discount code. It works perfectly with PayPal express checkout.

    Of course, you need to install the content module and you need the BS version. Please believe me, I made this module.


  4. Hello Kevin @Kevin.Dallas,

    It sounds pretty much that you are referring to another or older discount code version.

    This thread is for Discount Code BS which already does include a content module for shopping_cart.php where to enter the discount code. It works perfectly with PayPal express checkout.

    If your solution is for another version, please post it in the appropriate support thread.

    Best regards

    Rainer

     


  5. Shipping modules, even old modules, should still work with newest store versions. You just need to update the class constructor name to "__construct" and update the directory constants to hardcoded names. Just compare to a module which is included in your store version.

    Try any you find.


  6. It is how the free sipping via ot-shipping works. It replaces all shipping options. The same happens in checkout-shipping. php. If you wish to show free shipping together with all other shipping options, you need to use a specific free shipping module. Please search the add-ons marketplace for a free shipping module, install it and disable free shipping in ot-shipping. 


  7. Hello  @vampirehunter,

    Check the following settings in admin : configuration : images:

    KissIT JPEG Quality st to 100 (best quality)

    KissIT sharpen Thumbnail set to "strong"

    KissIT Disable Image Upsize set tot "true"

    - check that your original images are big enough and saved in good jpg quality (bigger filesize)


  8. 1 hour ago, burt said:

    Having thought about it for a whole 30 seconds, you wouldn't even need to do that.  The HT module would just need to run;

    update products set products_status = 0, products_last_modified = now() where products_quantity < 1

    This is already done in core checkout_process.php:

            if ( ($stock_left < 1) && (STOCK_ALLOW_CHECKOUT == 'false') ) {
              tep_db_query("update " . TABLE_PRODUCTS . " set products_status = '0' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'");
            }

    It seems the OP has this modified/removed in her themeforest theme. She only needs to re-establish it like already explained at the very beginning of this thread.


  9. 1 hour ago, sinopia said:

    I've noticed that I've QT Pro functions in some files but I'm not actually using it. It already came with the theme, can be something related with this?

    Hello @sinopia,

    The standard QTPro version does only interfere in attributes stock control and deduction if correct configured. It does neither interfere in switching products status nor in showing or not showing out of stock/off status products in product listing/product page.

    But, as already (how often) pointed out: we do not know which QTPto version you are using, if it's coding is modified or if there are additional coding modifications in your themed store which may have an influence.

    If you are not able to compare your store's code to a standard OsComemrce store code and find out what to do, I recommend you to post in the commercial support thread to find someone who can do it for you.

    Best regards
    Rainer


  10. 35 minutes ago, sinopia said:

    Hi @raiwa I understand and I'm sorry to ask here and didn't mention the version I'm using. I don't have any solutions. Some parts of the entire code are normal.

    I do have stock report and it decreases the quantity as the products are bought. Just needed a few modifications to set status of the product to offline when it's the last stock.

    I've to make just a few modifications on this website and then I can have time to migrate all into CE version, my modifications were made apart the core so that's a start.

    About this template it doesn't have much modifications about the osCommerce code. Users on the forum can try to help that I might get into the problem, that was a forum is all about, to help each others.

    Best regards

    If it dosn't work in your store it's just that your code is modified and we can't help without knowing your code. The only thing we can recommend is to compare your code with the original OsCommerce code and try to revert your theme modifications related to stock in the product listing and shopping cart.

    The forum and the forum members are ready to help all users of original oscommerce code and the add-ons offered in the marketplace. But is has been pointed out many times that the forum and the members/users can't help on heavy modified stores which use third party themes and which code is unknown. You should ask the provider you paid for the theme. Your store is considered an own fork of OsCommerce.

    Please see also Guidelines: General Rules 1:
    https://forums.oscommerce.com/guidelines/

     

    Best regards
    Rainer


  11. 1 hour ago, Moxamint said:

    @raiwa Thanks but it turned out like this:

    1119567047_Image002.png.084ba56bdb48a2a1ed692a73258d192e.png

    It breaks to the line below the hamburger and brand.  It is the same even if I turn off the brand.

    Eddy 

    Please compare the coding in the navbar template for the different groups.

    The modules left and right group have <ul> tags wrapped around the groups, the home group does not have it.

    So try to add <ul> tags to the home group in the navbar template, in which case the brand template (and all other home group module templates) also need <li> tags.

    As already pointed out, it needs some additional css/tags to style it.


  12. 21 minutes ago, IAmGrammy said:

    The first link you provided is the one I installed and it definitely does allow me to sort within the category in the admin area, but affects no change on the storefront.  I'll keep staring at it to determine why this is so.

    Thank you for the second link; I'll give it a go, as well.  😊

    I just had a look into the included readme file:

    This addon offers the facility todefine the default order that products are shown within a category in the catalog (this means storefront index.php).It is constructed to minimise core changes but some are necessary to change the query in index.php.Another optional core change shows the products in the same order in admin/categories.php.

    See the instructions to modify catalog/index.php:

    If your index.php is unchanged you can upload the file included in “catalog changed BS Edge needed” or if it’s changed I recommend using a merge tool (eg. Winmerge) or you can perform the following edits manually:
    Find around line 97........

     


  13. Hola Nacho @nacho torres,

    En primer lugar decirte que el idioma del forum es inglés, por lo que todos los mensajes públicos deberían ser en este idioma.

    La versión 2.2 que intentas instalar es de aprox. hace 15 años y obsoleta.

    Deberías descargar la versión actual 2.3.4.1 BS Frozen en este enlace:

    https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip

     

    First of all to say that the forum language is english and all public messages should be posted in this language.

    Version 2.2 which you are trying to install is maybe 15 years old and obsolete.

    You should download the actual version  2.3.4.1 BS Frozen from this link:

    https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip

     

    Un saludo cordial
    Rainer


  14. Hello Lyn @ce7,

    I'm sorry, but I'm not the author/maintainer of these shipping modules. I only updated them some time ago for BS and PHP7 compatibility.

    Please post your questions in the official support thread:

    https://forums.oscommerce.com/topic/398158-contribution-new-australia-post-shipping-modules-for-osc-23x/?page=4&tab=comments#comment-1767702

    THe other generic questions should be posted in the general shipping modules thread.

    I just had a fast look and for Q1 you should remove the additional info around these lines:

    		    if ($insurance == '' && $handling == 0) {
    		      $auspost_addons = "(" . $method_service . ")";
    		    } else {
    		      $auspost_addons = "(" . MODULE_SHIPPING_AUSPOST_DOM_COUR_TEXT_INCLUDE . $handling_details . ($handling > 0 && ($insurance != '' || $signature != '') ? MODULE_SHIPPING_AUSPOST_DOM_COUR_TEXT_PLUS : ':') . $signature_details . ($signature != '' && $insurance != '' ? MODULE_SHIPPING_AUSPOST_DOM_COUR_TEXT_PLUS : '') . $insurance_details . ")";
    		    }
    
    		    $shipping_auspost_method = $auspost_addons;

    Best regards
    Rainer

×