Jump to content

Demitry

Members
  • Content count

    311
  • Joined

  • Last visited

  • Days Won

    8

Reputation Activity

  1. Like
    Demitry reacted to raiwa in Purchase without account for 2.3.4 and BS2334   
    If your store is EDGE, you should use series 2, PWA 3.0 series is for FROZEN:
     
    But I saw in your older posts that you have already updated to PWA 3 series.
    The reviews link has been fixed in PWA 3.0.4:
    I'm sorry I can not give more specific advice for this combination of EDGE and PWA 3.0. Please try to apply the above included fix or update to the latest series 3 verion: 3.0.5.
  2. Like
    Demitry got a reaction from valquiria23 in Call individual module content from a template block   
    Cool, thanks man. I figured this was likely the case as soon as I saw "Community Edition."
     
  3. Like
    Demitry got a reaction from valquiria23 in Call individual module content from a template block   
    I am supporting the shop owners,.. that's why I have a ton of contributions and am one of less than a handful of people still spending their personal time on releasing new ones.
  4. Like
    Demitry reacted to kgtee in Google Bot reports and User Friendliness   
    @Demitry has an interesting link at his signature https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce
    I understand there is always a "check version" on the admin dashboard. I am sure people use that multiple times and everytime they are probably disappointed seeing the slow pace of development or the difficulty of changing what is existing. They will either stop there and stay put with what they already have or they switch to another e-commerce software. Once switched, they are likely gone for a long long time. ☹️
  5. Like
    Demitry reacted to peterpil19 in admin orders onclick change   
    Hi Kevin,
    I don't experience any issues in checkout with @Demitry's add on,  what are you experiencing?
    Peter
  6. Like
    Demitry got a reaction from peterpil19 in admin orders onclick change   
    @Kevin.Dallas
    One more thing about the usability of creating a feature like this. I assume that you need to make changes once in a while to a tracking number due to an initial data-entry error.

    With your solution,.. changing it in the Order History Update section/log will not send an email to the customer to notify them of the correction. And, it will not date/time stamp that correction for your own records, so that you can go back and see when you made this change.

    Of course, you could hire a developer to have these features added as well, but why? All you have to do is post another Order Update with the correct tracking number and add a note saying that this is the correct tracking number so, please discard the one sent in the last update.

    This will record in your Order History Update section/log and it will send an email to the customer notifying them of the change. Better record keeping, no need to get into the database, and no need to pay a developer. Problem solved!

  7. Like
    Demitry reacted to Dan Cole in Call individual module content from a template block   
    If you join the club and look through that thread someone might have commented about using it on EDGE...I'm just not sure.  You could always ask there as well.  Phoenix is just an improved version of EDGE so my guess is that it would work or could be made to do so fairly easily.
    Dan
  8. Like
    Demitry got a reaction from peterpil19 in Call individual module content from a template block   
    @Dan Cole
    I think the Product Information System that you’re referring to is part of the Phoenix release. I’m not familiar with it and this is the first I’m hearing of it. Though out of curiosity I’d love to know more about it.

     
  9. Like
    Demitry got a reaction from peterpil19 in Call individual module content from a template block   
    Lee, I believe that you’re referring to the same Product Information System that Dan mentioned. I’m currently in the dark when it comes to that particular topic. However, I completely support any and all initiatives that would make this software easier to customize …and especially, for the non-technical user.

  10. Like
    Demitry reacted to peterpil19 in admin orders onclick change   
    Understood.
    I'm unable to assist on the coding front, perhaps someone with greater knowledge can.
    May I suggest this excellent add on by @Demitry which achieves the tracking functionality (but not the update field on input you are perhaps seeking).  I installed it myself this week.  It works perfectly, it is very simple, with some very basic core-code changes, which are appropriately commented by the author so you can easily reverse them later should you choose to uninstall: https://apps.oscommerce.com/S5MrB&order-tracking-for-bs
    Peter
  11. Like
    Demitry reacted to kgtee in Call individual module content from a template block   
    Hi @Demitry, now I understand more clearly what you are trying to get at. However, I regret that I am not able to help as I am not yet good in programming. I am still learning and always hope to see some good code written by others so that I can learn from them.
    Your idea seems similar to the shopping cart module which was once a single module. It was broken down to a few different smaller modules by raiwa and these modules can be called individually from the module content admin.
    So, you may want to decide what modules you want to be included in the checkout_success.php and then develop them as modules.
     
    @Demitry
  12. Like
    Demitry reacted to raiwa in Discount Code BS   
    Update uploaded:
    Discount Code 5.1.2. Phoenix
    Please apply these fixes also to previous versions.
    Older versions, FROZEN, EDGE and Gold BS3, please use Discount_Codes_4.4.3_BS
    Version 5.1.2.:
       Fix for wrong order total showing when no tax is applied. Thanks to @bnguru for the report and testing
       Added support for stripe sca 3.0 payment module. Thanks to @peterespana for testing
       Fixed several minor errors in instructions, ot module and admin page. Thanks to @Demitry
     
  13. Like
    Demitry reacted to raiwa in [Contribution] Recently Viewed Products(sales optimized)   
    Upddated to Version 5.0.1 Phoenix
    https://apps.oscommerce.com/z7iA8&recently-viewed-products-bs
    Compatibility:
    Phoenix 1.0.2.x
    PHP: 7.0-7.3
    *********************************************************************************************************************
    This version has not been tested with earlier Phoenix versions.
    You will need to apply at least the following database update to use it with Phoenix 1.0.0.x or 1.0.1.x.:
    https://pastebin.com/Ed8B6nuT
    You may also need to update custom.css
    *********************************************************************************************************************
    Changes:        
             - modified "See More" button to show only if more recently products have been visited than number of recently products shown in module.
    Thanks to @Demitry for the suggestion
             - readded missing truncate text function in cm_sc_continue_recently_viewed.php shopping cart module
             - removed obsolete truncate text functions in box module
     
  14. Like
    Demitry reacted to 241 in Header Tags SEO   
    admin/includes/functions/header_tags.php line 104
    if (($fileSaved && $cntNewFiles) || (! $fileSaved && (count($existingFiles) != $cntNewFiles))) { count($existingFiles)
    Notice: Undefined variable: existingFiles
    Warning: count(): Parameter must be an array or an object that implements Countable
    $existingFiles is not an array or object
  15. Like
    Demitry reacted to MrPhil in Database Optimizer   
    Keep in mind that it's more than just changing function names mysql_ to mysqli_. Some parameter lists in the calls will also be changed, so you need to check those.
  16. Like
    Demitry reacted to Jack_mcs in Database Optimizer   
    Yes, it should be changed.
  17. Like
    Demitry reacted to Jack_mcs in Header Tags SEO   
    @DemitryThanks for those. I will make a note for the next version.
  18. Like
    Demitry reacted to Jack_mcs in Header Tags SEO   
    Thank you. I appreciate you taking the time to post this. The unreleased version has most, if not all, fixed already, I dost haven't had the time to get an update posted but do plan one for this year. In the meantime, please do post any problems you find.
  19. Like
    Demitry reacted to Jack_mcs in Do I need the Header tags/SEO Urls contributions for Bootstrap 2.3.4?   
    Actually, having the keyword in the url still matters for SEO. Not nearly as much as it used to but it does play a part. It can be quite important, in fact, if a link is posted somewhere to some image on your site, like in an advertising campaign, because the keyword is then in the alt tag which is still a ranking factor. And it could be argued that having a human-readable url will increase traffic, which is also a ranking factor. For example, if I was reading through some forum post and it said go here - http...com/free-stuff or go here http...com/index.php?cpath=12, I would be more inclined to click on the link that described where I was going. So while rewriting the url's is mainly for the benefit of the visitors to the site, it does have an affect on SEO and shouldn't be ignored.
  20. Like
    Demitry reacted to raiwa in Purchase without account for 2.3.4 and BS2334   
    Update uploaded:
    Purchase without account BS 3.0.5.
    Changes Version. 3.0.5
    - fix in admin/reviews.php to show guest reviews flagged. Thanks to @Demitry
  21. Like
    Demitry got a reaction from Tsimi 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>';  
     
  22. Like
    Demitry got a reaction from Tsimi 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>';  
     
  23. Like
    Demitry reacted to Tsimi 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.
  24. Like
    Demitry reacted to Tsimi 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.
  25. Like
    Demitry reacted to raiwa in only customers who have purchased the product are allowed to submit a review   
    @Demitry, thanks, it may be good to add it here:
     
     
×