Jump to content
Latest News: (loading..)

Tsimi

♥Ambassador
  • Content count

    2,329
  • Joined

  • Last visited

  • Days Won

    85

Reputation Activity

  1. Like
    Tsimi reacted to DAVID3733 in Discount code Inc Paypal Express   
    Update on above
    Can confirm that I have done as Rainer suggested, installed modular shopping cart, ship-i-cart reloaded, and discount codes, haven't switched Paypal express on yet but i wouldn't have thought its a issue, all the data is there
    all is working great, installed on 2.3.4.1 CE, bootstrap 4 with, PHP 7.2.14 
    couple of css changes to update to BS4, but thats only visual, worked straight out of the box, as I knew nothing about bs4 it was interesting playing with it, probably forget it all tomorrow though
    the only thing i couldn't work out is why the work Tax or VAT is not written on the estimated order total, but since noticed its also missing further into the check-out so there must be a language file somewhere that i have yet to find,  job for another day with fresh eyes
    Anyway just a vote for the above add on's makes the checkout much better with all that info on one page before checkout continues
    Regards
    David
  2. Thanks
    Tsimi got a reaction from puggybelle in Anyone know how to code a Select All checkbox?   
    Hi Andrea
    Try this following;
    Open your admin/stats_keywords.php file
    FIND
    <!-- bof function delete --> <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_DELETE; ?></td> <!-- eof function delete --> REPLACE WITH
    <!-- bof function delete --> <td class="dataTableHeadingContent" align="left"><input type="checkbox" onClick="toggle(this)" /> Toggle All<br/></td> <!-- eof function delete -->
    AT THE VERY END OF THE FILE ADD
    <script> function toggle(source) { checkboxes = document.getElementsByName('update_keyword_list[]'); for(var i=0, n=checkboxes.length;i<n;i++) { checkboxes[i].checked = source.checked; } } </script> To keep everything nicely aligned
    FIND
    <!-- bof function delete --> <td class="dataTableContent" align="center"> <?php echo tep_draw_checkbox_field('update_keyword_list[]', $keywords['search_text']); ?> </td> <!-- eof function delete --> REPLACE WITH
    <!-- bof function delete --> <td class="dataTableContent" align="left"> <?php echo tep_draw_checkbox_field('update_keyword_list[]', $keywords['search_text']); ?> </td> <!-- eof function delete -->  
    Hope that helps.
  3. Like
    Tsimi reacted to burt in 28d 2019, let's move the Project forward...   
    28d21 - Bundled Products
    (sorry for early post, I am unavailable almost all day tomorrow)
    For d21 I have the third of four "bigger" mods.  This one allows you to sell a Bundle of Products.
    Admin Side 
    New Page for creating Bundles
      Shop Side
    module that display the Bundle
    module that reduces stock appropriately Core Code Changes:
    NONE.  System is 100% modular.   Upload, turn on, create Bundle(s).
    Demo:
    https://template.me.uk/28d2019/product_info.php?products_id=29
    This is the "Stephen Seagal" bundle - where all products are available in required quantities...


    https://template.me.uk/28d2019/product_info.php?products_id=30
    This is a "test" bundle where one of the product does not have sufficient stock

    Admin Hook
    Also included is a Admin Side HOOK - which means you do need to have the Hooked Order page installed - comes as standard in Responsive...
    This Hook shows shopowner a quick reminder of Bundled Content for easy stock-picking.

    Delivery:
    As noted earlier, I am out most of the day tomorrow, so this one will come to you late tomorrow night (or poss friday morning if I do not get back in time).
  4. Like
    Tsimi reacted to felix-swiss in 28d 2019, let's move the Project forward...   
    I am a re-returning fan of @burts 28 days modules and I like them!
    Easy, functional and all in all understandable and very very reasonable priced!
    Even if I don't need all of them (yet...) I think it is the very least to do supporting his work and his "always striving for a simple but effective solution"
    So now not even half of the 28d over and looking every day what Burt has created to surprise us...
    Keep up the great work and GUYS - in respect to his devotion to the OSC community - give something back 🙂
     
    Felix 
  5. Like
    Tsimi got a reaction from Portman in Cant find <del> for specials in product_info   
    Check the language file for the price product info module.
    ../includes/languages/english/modules/content/product_info/cm_pi_price.php
    const MODULE_CONTENT_PI_PRICE_DISPLAY_SPECIAL = '<del>%2$s</del> <span class="productPrice text-danger productSpecialPrice">%1$s</span>';  
  6. Like
    Tsimi reacted to Demitry in Featured Products BS   
    @Tsimi
    ...you put the "bro" in Lambros
    😀
    yeah man, ..that's exactly what I was trying to achieve and I'm not very good with SQL. Thank you for the help. I just tested this mod and it works as it should. If you want, you can add it to the next update release.
    Ok, so here is the complete mod to only show the "See More" button when the number of Featured Products exceeds the content limit set in admin for the particular module.
    I'm just going to use the index module for this sample, and this is for BS Edge. I'm not sure if there is a difference with other versions.
    /index/modules/content/index/cm_i_featured_products.php
    1)      FIND this code:
    if (tep_db_num_rows($featured_products_query) > 0) { // Show only if we still have products in the array ADD just ABOVE it:
    // this will show/hide the "See More" button $fp_count_query = tep_db_query("select count(*) as total from featured WHERE status = '1'"); $fp_count = tep_db_fetch_array($fp_count_query); $fp_btn = 'style="display:none;"'; if ($fp_count['total'] > MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CONTENT_LIMIT) { $fp_btn = 'style="display:inline;"'; }  
    2)      FIND this code:
    $featured_products_content = '<h3>' . ($cat_name != '' ? sprintf(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CATEGORY_TITLE, $cat_name) : MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_TITLE . ((MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_SHOW_BUTTON == 'True')? '  ' . tep_draw_button(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_IMAGE_BUTTON_SEE_MORE, 'glyphicon glyphicon-triangle-right', tep_href_link('featured_products.php'), 'primary', null, 'btn-default btn-sm'):'')) . '</h3>'; REPLACE it with this:
    $featured_products_content = '<h3>' . ($cat_name != '' ? sprintf(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CATEGORY_TITLE, $cat_name) : MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_TITLE . ((MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_SHOW_BUTTON == 'True')? '&nbsp;&nbsp;<span ' . $fp_btn . '>' . tep_draw_button(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_IMAGE_BUTTON_SEE_MORE, 'glyphicon glyphicon-triangle-right', tep_href_link('featured_products.php'), 'primary', null, 'btn-default btn-sm') . '</span>':'')) . '</h3>';  
     
  7. Like
    Tsimi got a reaction from Demitry in Featured Products BS   
    @Demitry
    Ok, I had a look at my specials code and it is not what you are looking for. Actually it is same as the see more button currently inside the Featured Products BS add-on.
    But I started to do some research and found a solution. It was easier than I thought.
    You need to use a select count(*) query to get the current total amount of featured products and you only want to get the ones that are set to f.status 1
    So this is what I came up with
    Open your index module featured file
    FIND:
    if (tep_db_num_rows($featured_products_query) > 0) { // Show only if we still have products in the array ADD BEFORE:
    $featured_count_query = tep_db_query("select count(*) as total from featured WHERE status = '1'"); $featured_count = tep_db_fetch_array($featured_count_query);
    Now you can use this here to hide/show the button.
    if ($featured_count['total'] > MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CONTENT_LIMIT) { BUTTON CODE HERE } Let me know if that works for you.
  8. Like
    Tsimi got a reaction from Demitry in Featured Products BS   
    @Demitry
    I did something similar long time ago for my specials on the index page. Show a certain amount of specials on the index page and a button that says Show All which redirects to the specials.php page.
    I will have to dig it out since I don't remember which shop I did that for.
    Give me some time and I'll get back to you.
  9. Thanks
    Tsimi got a reaction from Shoppertroppen in Payment fee   
    @Shoppertroppen
    Download the zip package from my post here.
  10. Like
    Tsimi reacted to raiwa in Discount Code BS   
    Update uploaded:
    Version 4.4.0 BS:
    Added the possibility to exclude specials on order subtotal discounts. Added support to place ot discount module before ot subtotal module and show subtotal with discount amount substracted.  
  11. Thanks
    Tsimi reacted to raiwa in Discount Code BS   
    Then I'll upload the update. Version number Discount_Codes_4.4.0_BS is ok ?
  12. Like
    Tsimi got a reaction from raiwa in Discount Code BS   
    I did test it but it didn't work so I didn't mention it. Great if it works on your store.
  13. Like
    Tsimi got a reaction from raiwa in Discount Code BS   
    If you intend to select all products couldn't you use the select Categories feature? To select 1000 products or only 10 categories makes a big difference. That won't require such a large list up.
     
  14. Thanks
    Tsimi got a reaction from ce7 in Custom Product Builder of OSc BS   
    @LeeFoster
    Best would be to create a github repository. Then we can download it or have a look at your current files.
    Then you should proceed the same way we did with the Points and Rewards addon. Create a to do list, create a bug list if needed.
  15. Like
    Tsimi reacted to Jack_mcs in FAQ's BS   
    A new version has been uploaded with these changes:
    Added cancel and delete buttons back in. Added commands to remove backslashes on the shops FAQ page. Corrected code for the delete function. Found by member Tismi, Merged a number of functions into the code since they were not needed. Removed the tep_set_faq_visible function. Found by member luboshsh. Removed $_GET from function calls that were left over from the previous addon and no longer needed.  
  16. Haha
    Tsimi got a reaction from zefeena in Checkout confirmation blank white page   
    Thank you raiwa! Feels like talking to a wall here.
  17. Like
    Tsimi reacted to raiwa in Checkout confirmation blank white page   
    Sorry to enter now, but if I'm not missing something, it's checkout_process.php producing the error (white page), not checkout_confirmation.php
  18. Like
    Tsimi reacted to raiwa in AJAX Attribute Manager support   
    Uploaded update with the above posted fixes:
    https://apps.oscommerce.com/mKsGy&ajax-attribute-manager-bs
    AJAX Attribute Manager BS 2.9.3
    + Fixed undefined errors
    + Fixed PHP 7.2 warning errors.
     
  19. Thanks
    Tsimi reacted to raiwa in Discount Code BS   
    Version 4.3.2 BS uploaded:
    https://apps.oscommerce.com/iIUE4&discount-codes-bs
    Fixed several PHP 7.2 undefined warnings in ot module.
     
  20. Like
    Tsimi got a reaction from Demitry in Horizontal Categories Menu BS   
    @Demitry
    role="navigation" is stock bootstrap code. Not sure for what but it is used for the nav-bar element. Guess it can be removed for the horizontal menu.
    If the catMenu ID isn't used anywhere inside the css file or anywhere else you can remove it.
  21. Like
    Tsimi reacted to Dan Cole in Managing your Products   
    Been playing with this, as time permits, and am getting to a point where it is starting to be of some use.  Here is the entry point...sorry for the name (you'll see why in a bit).  I couldn't come up with a better one at the time so if anyone has a better suggestion I'd welcome it.

    At this point it just lets me set what tasks need to be done,  assign a priority to them and a date for when I last worked on it etc.  It's basically just a TODO list. I also added some basic manufacturer information which you see in the right hand column.  I got tired of looking for contact names, phone numbers etc. 
    You'll also see that I added a few buttons to the bottom.  This is where the system will start a add some value.  At this point I've mainly focused on the Create Worksheet button.  The idea here was to list some of the key information for the products for the particular manufacturer that was selected.   Things like the margin, currency, the weights etc. A place to scan the data you have set up.   Here is a little screen shot so you can see the direction it's headed in.  It might be nice to be able to update those data points right on Worksheet page but I'm not that far along yet.

    The Show Categories button will generate a page similar to the Manufacturers page shown about so you can manage your products by category rather than manufacturer.  The Exception Button will work similar to Garys Product Monitor.  It will provide you with information about missing or undersized images, prices, taxes and pretty much whatever else you want to review.  Here is another image showing the direction that is expected to take.

    At the moment is just shows whether or not there are any products for a particular manufacturer.  I haven't really spent any time on it...I just set it up to serve as a reminder for what I wanted to do with it.  
    This is still very much a work in progress but I thought it might be useful to show the general direction the idea has taken and ask for suggestions that anyone might have.
    Dan
  22. Like
    Tsimi reacted to burt in Managing your Products   
    Nice!
    You could also create a Dashboard Module for admin perhaps showing the items that have the highest priority or something.
  23. Thanks
    Tsimi got a reaction from puggybelle in Need help with the footer_suffix in Bootstrap Container   
    try to add this to your user.css
    .footer { border:none; } Regarding keeping the footer same width as the body.
    It will require a small core code change.
    Open your ../includes/template_bottom.php file and look for this following code
     
    </div> <!-- row --> </div> <!-- bodyWrapper //--> <?php require('includes/footer.php'); ?> Now change that to this
     
    <?php require('includes/footer.php'); ?> </div> <!-- row --> </div> <!-- bodyWrapper //--> We just wrapped the footer area inside the bodyWrapper class. Meaning when you choose either container or container-fluid the footer will adjust same as the body area does.
    However I personally think it looks a bit odd. Because you will most likely have a full width header and a narrow body and footer which does kinda look unbalanced but then again this is entirely subjective.
    I would at least go with full width header footer and narrow body if I'd have to as it was intended with the stock BS setup.
  24. Like
    Tsimi got a reaction from Rosyweb in Bootstrap jquery date picker not showing UK format   
    @@Mikepo
     
    Can you try once the following.
     
    Backup first the following file
     
    ext/datepicker/js/bootstrap-datepicker.js
     
    then open it and find
    this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy'); REPLACE WITH
    this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'dd/mm/yyyy'); Does this work for you?
  25. Like
    Tsimi got a reaction from ce7 in Hide Add To Cart, Buy and Buy Now for out of stock items   
    That has not much to do with this forum, wouldn't you agree? We cannot take any sort of influence on Google's search results.
     
    I think you have been provided with help here and in the other thread (advanced specials). Unless for you getting help means having everything served on a silver platter for free.
     
    True. Not so many shop owners left anymore since osC doesn't evolve as fast as other cart systems these days. Still those who are left are not code-junkies. They are store owners that try to help osC move somewhat forward in any way they can in their free time.
     
    The first guy, his name is John btw, has provided you with a link to the answer you seek. You just need to know which link to click. Just try and click on the bold text BrockleyJohn replied to a topic
    The other guy, also named John, mentioned Burt by name because we all know who Burt is or at least those that use his Community Edition which would include you too.
    He is a osC Team member so just click on the "Staff" tab at the top and you should see a "monkey with a hat" avatar guy, that's him.
    Just a friendly advice. I know things can get frustrating if you try to get something working as quick as possible but bear in mind there are people here from all around the globe so there is a time difference to consider and consider that those people are trying to help here for free most of the time. So keep your attitude in check please and don't try to vent it out here in the forum.
×