Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

  • Days Won


Reputation Activity

  1. Like
    Moxamint got a reaction from Smoky Barnable in [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)   
    I installed this add-on and it's working beautifully on my test site.  Thank you very much @@auzStar!
      Because my product images are all very large (800 x 800 pixels), I've been using 'KissIT Image Thumbnailer' to create thumbnails.  Dominic helped me customize this 'Twitter Typeahead Autocomplete Search' so that it uses tep_image() instead of HTML method to re-size product images shown in drop-down of the search result.  The following are code changes to achieve it:   In "catalog\ext\typeahead\js\ht-twitter-typeahead.js.php", find this code: return "<div style='padding: 0px 10px 0px 5px;'><table border='0' width='100%' cellspacing='0' cellpadding='0'><tr><td valign='center' align='center' width='10%' style='padding-right: 6px;'><img src='"+data.image+"' width='40' height='' /></td>"+ replace with:
    return "<div style='padding: 0px 10px 0px 5px;'><table border='0' width='100%' cellspacing='0' cellpadding='0'><tr><td valign='center' align='center' width='10%' style='padding-right: 6px;'>"+data.image+"</td>"+ In "catalog\ext\modules\header_tags\twitter_typeahead\autocomplete.php", find this code:
    if (tep_not_null($results['products_image'])) { $results_array['img'] = DIR_WS_IMAGES . $results['products_image']; } else { $results_array['img'] = (MODULE_HEADER_TAGS_TWITTER_TYPEAHEAD_DISPLAY_NO_IMAGE_ICON == 'true' ? DIR_WS_IMAGES . 'no_img.png' : ''); } replace with: if (tep_not_null($results['products_image'])) { $results_array['img'] = tep_image(DIR_WS_IMAGES . $results['products_image'], NULL, '40', ''); } else { $results_array['img'] = (MODULE_HEADER_TAGS_TWITTER_TYPEAHEAD_DISPLAY_NO_IMAGE_ICON == 'true' ? tep_image(DIR_WS_IMAGES . 'no_img.png', NULL, '40', '') : ''); } Now the search result of 'Twitter Typeahead Autocomplete Search' will use thumbs created by 'KissIT Image Thumbnailer' instead of using the original product images.
      For those who are interested in this lovely add-on, please PM me if you want to see it in action on my test site.   Cheers, Eddy
  2. Thanks
    Moxamint reacted to chuntse in New management and osCommerce v4   
    Hi Eddy,
    I want it be into simplified Chinese.
  3. Thanks
    Moxamint reacted to raiwa in Product listing   
    It's just the sense to specify width and height, so all images independent of their proportion will occupy the same space. KissIt image thumbnailer adds therefore background to create equal thumbs and avoids like this stretching. It works best using square proportion, so mixing landscape and portrait images will still result in equal sized product cards and a nice aligned product listing.
    I believe @ecartz wanted to explain more or less the same.
  4. Thanks
    Moxamint reacted to ecartz in Product listing   
    It makes the layout harder to calculate.  Because if the width is set, then the height can change.  Or if the height is set, the width can change.  Consider specifically the situation where the canonical value is set to 300, considering a 300x300 image.  On some products, the image might be 300x60 and on others 300x2100.  Will it look good to mix products where some are 35 times as tall as others?  Or 50x300 and 2000x300.  Some products are most of the width of a screen while others take up just a fraction. 
    If you specify width and height, you can make all the images fit into that box and automatically extend the ones that need it.  So a 300x60 image will get 240 rows of padding.  While the 300x2100 will be resized to something like 43x300 and receive 257 columns of padding.  This gives each product a predictable size in the display. 
  5. Like
    Moxamint reacted to peterpil19 in [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)   
    The alternative way to fix the button issue is to change the "input-group" class in bm_search.php and content_header_search.php to "input-group-prepend" at Lines 37 and 46, respectively. Refer documentation on bootstrap forms: https://getbootstrap.com/docs/4.0/components/input-group/
  6. Like
    Moxamint reacted to puddlec in TinyMCE editor for admin   
    That's the advantage with the hook system that was used ( as well as using modules to add new features) , less chance of things going wrong. as well as so much simpler to install as well
    I've managed to break all sorts of things in the past when installing / updating addons in the past.
     i will of course check against future releases of phoenix, to make sure everything still works
  7. Haha
    Moxamint reacted to Heatherbell in TinyMCE editor for admin   
    All fixed now and this addon works great (thanks again @puddlec) - I found I had some old TinyMCE addon code still in application_top (head slap) - my categories.php is ancient!
    Love the new!
  8. Like
    Moxamint got a reaction from ArtcoInc in [Addon] Product Sort Within Category   
    The Drag n Sort works for the categories, too.  It takes a few code changes for Gary's mod to use the same database fields that Product Sort Within Category uses, but after that, they work harmoniously together. 
  9. Like
    Moxamint got a reaction from ArtcoInc in [Addon] Product Sort Within Category   
    I actually think it should go into the core...
  10. Like
    Moxamint reacted to John W in Cezpdf pdf-php creator   
    I don't know if anyone will have interest in this, so I won't spend a lot of time on this unless it gains traction.  Anyway, I use batch print from over a decade ago and didn't realize until yesterday that the pdf class was still being maintained.  Since I only sell in the US, I haven't run into many character encoding problems, but I imagine some of you do.  So, the new version of Cezpdf seems to work with all the characters.  It's also php 7.2 compliant.  Even better, I was able to replace my old Cezpdf and Cpdf class files and associated files.  With very little changes, it prints my invoice.  The pdf manual seems pretty useful, but I haven't gone very far into it yet.  The main snag I hit was using "addTextWrap", which requires a different order than before.  But, it has more functionality, so I can right justify for totals, which I couldn't do before.  addText also has changed.  I only have a few hours into it, but check the manual out.
    So, I said wouldn't ramble too much.  If anyone is intersted you can find it at https://github.com/rospdf/pdf-php
  11. Like
    Moxamint got a reaction from kymation in [Addon] Modular Navigation Bar (Bootstrap)   
    Modular Navigation Bar sub-modules are using old version of font awesome.  You have to look through module files and change the syntax/style of the icons accordingly:
    Best wishes, Eddy
  12. Haha
    Moxamint reacted to kymation in [Addon] Modular Navigation Bar (Bootstrap)   
    The mysite.com/# thing is normal. The links are actually Javascript, and that doesn't show up in the browser mouseover. The links should work anyway.
    Edit: Beat me to it. Thanks Eddy.
  13. Like
    Moxamint reacted to kymation in Horizontal Megamenu   
    This Addon adds a horizontal menu bar in the header of every store page. This menu bar contains the names of each of your top-level categories. When a customer clicks on a category name, a Megamenu expands below the menu bar. This Megamenu contains a category image and name for each of the top-level category's subcategories, or the top-level category image and name and a list of links to the products in that category if there are no subcategories.
    The Addon code is available here.

  14. Like
    Moxamint reacted to Tsimi in ULTIMATE Seo Urls 5 - by FWR Media   
    I just quote from google
    All what google says is they recommend or say it is good practice to make the URLs read-friendly so that customers/users can read or use the URL as link or navigation guide.
    It doesn't say one word that it will improve your SEO because of that. Google just says you should keep it organized. Another quote
    Again, no mention of SEO benefit. Visitor friendly does not equal better SEO or SEO results.

    Lastly, everyone can do what they want with their shop site it is their website and they should know what their customers might want. Look at Amazon, eBay or some other big shop they all have different URLs, some long, some short, some easier to read, some are super long and complicated. Important is that the "real" SEO stuff in your shop is working as it should then you'll end up getting good search results.
    So what @burt said isn't wrong at all. User friendly URLs have nothing to do with SEO.
  15. Like
    Moxamint reacted to raiwa in Products Weight editor?   
    Add Weight To Product Attributes v0.1
  16. Like
    Moxamint reacted to raiwa in Slim Checkout for BS   
    Slim Checkout
  17. Like
    Moxamint reacted to raiwa in Slim Checkout for BS   
    Thank you very much for the advice. I'm taking care of my health, do not worry. I'm breaking regularly my coding hours by long walks trhough the beautiful nature surrounding my place, cooking, handcrafting jewellery, diy woodworking projects and much more. Times of letting things stressing me have past since years.
    This project was born by using manual hiding modules during checkout in my wife's 2.3.4 BS store since the beginning 2 years ago. I just was curious how to do it in a more simple way and first looked into template_top and bottom where the modules are included. Then i found no way to control them there without core changes and began to dig into the osc_template class to find out how to condition the module inclusions. It was palaying around to discover things rather than a working goal.
  18. Like
    Moxamint reacted to Tsimi in Slim Checkout for BS   
    Well done!
    We appreciate all the hard work you put into your addons and projects but please do me a favor and don't work too much/hard. In the past I/we  have lost 2 very good friends from this forum and the last thing I remember was, they were working hard on some addons/projects and it could have been just mere coincidence or just fact that they overworked themselfs till their body gave up. You maintain multiple addons, you work with me on the Point and Rewards module, Sloppy words cleaner and, and, and....
    Long story short, watch your health and take enough rest so that we will be able to enjoy you and your work for many years to come.
    That goes for all of you out there. osC is nice and all but it won't bring you anything if you work yourself to death.
    Now back to work....
  19. Like
    Moxamint reacted to raiwa in Slim Checkout for BS   
    Common opinion is that the checkout process should be as "slim" as possible. This means to hide all page elements which are not strict necessary to show to the customer a simple clean layout, so nothing disturbs his attention from the purchase process.
    This add-on allows to do it by simple settings in a Header Tag module.
    Git Hub Repository: https://github.com/raiwa/Slim-Checkout/tree/master
    What it does:
    - allows to hide elements on checkout pages
        - optional hide on checkout pages (checkout_shipping.php, checkout_payment.phpheckout_confirmation.php and checkout_success)
        - optional hide also on shopping_cart.php
        - select each group to hide (navbar, header area, boxes, footer and footer suffix
      - copy all new files
      - install and adjust Slim Checkout Header Tag
    testing , Bug reports and suggestions very welcome.
  20. Like
    Moxamint reacted to Tsimi in Converting Points and Rewards system for osC BS   
    Addon is now available. Congratulations!

  21. Like
    Moxamint reacted to frankl in RMA Returns System for osC2.3.4BS   
    Full product returns system for osCommerce.
    ·         No core file changes needed, just upload to your store. ·         One click install. ·         Works with PHP 7.1 and Edge ·         Create returns from admin, or allow customers to create their own, or both. ·         You choose which order statuses orders must be at for customers to return items. ·         You choose how many days after ordering customers can return items from an order. ·         Includes issuing of discount coupons direct from the returns admin page*. ·         Includes Paypal refunds direct from the returns admin page**. Partial refunds OK. ·         If you require serial numbers to be entered this can be turned on in admin. You can also make serial numbers optional or compulsory. ·         Return items to inventory if you desire, just tick a box on the returns admin page. ·         Set a default restocking fee, and inform the customer when they fill in the return request. ·         Terms and conditions can be shown to customers before they fill in a return request, if so they must agree to continue. They can also have the terms and conditions emailed to their email address. ·         One click comments when updating orders. ·         Unlimited number of return reasons. ·         Unlimited number of refund methods. ·         Only logged in customers can create a return request. ·         Search for RMAs in admin by RMA Number, customer name, or order id ·         Will not create duplicate RMA request numbers.
  22. Like
    Moxamint reacted to douglaswalker in Login With PayPal   
    Worked it out
    I had all the boxes ticked under account eg timezone etc unticking those under account and in the corresponding boxes in paypal developer solved the issue.
  23. Like
    Moxamint got a reaction from auzStar in [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)   
    I received an extraordinary support from Dominic - he helped me solve an incompatibility issue of other add-on within just a few hours to work with this excellent 'Twitter Typeahead Autocomplete Search'.
    Thank you very much Dominic  :thumbsup:
  24. Like
    Moxamint reacted to ArtcoInc in Search add-on Reviews   
    Search add-on Reviews

    While working on a new store, I've been exploring the different Search add-ons available. I hope that others may find this useful.
    I looked at four different Search add-ons:

    A) Store Search (BS)

    B) SiteSearch Plus v1.4

    C) SmartSuggest - Self-learning Ajax Search Suggestion    v1.0.3

    D) Twitter Typeahead Autocomplete Search v1.6

    All of these have support pages on the forum.

    I installed these individually on a clean installation of osCommerce v2.3.4bs - Edge. The tests were run on the stock database. For comparison, I used the search phrase 'mic' in each of the tests.

    All of these either enhance the stock Search box in the header, or replace it. If replaced, the new Search box can have the bootstrap column width adjusted in Admin, just like the stock one.

                                                                               |      A      |         B        |        C       |      D      | 
    Requires core file edits                                       |     No     |      Yes *      |     Yes      |     No     |
    # of hits searching for 'mic'                                 |     6 *      |        3         |      3 *       |      5      |
    (using as-installed default settings)                    |               |                   |                  |              |
    When clicking on a result, are you sent to the    | Product  | Advanced  | Advanced | Product |
    Product page, or to Advanced Search Results   |               |req. 2 clicks|                  |              |
    Shows Product Image in Search Results            |     No      |       No        |      Yes      |    Yes    |
    Shows Product Description in Search Results    |     No      |       No        |       No      |    Yes    |
    Can select what pages to include in Search       |    Yes     |        No       |        No      |    No     |
    Records Searched for Words                             |     No      |       No        |      Yes      |    No     |
    Emails Store Owner if Search Not Found           |      No     |       Yes       |       No      |     No    |
    Pretty ranking (1=best) (in my opinion)              |       3      |         4         |        2       |      1      |

    Comments and thoughts:

    A) Store Search (BS)

    Plug and Play. Highly configurable. I like the 'Search Results Highlight' feature. Changing the configuration can alter the number of search hits. Using the 'out of the box' configuration, this gave the most number of search hits:

    1 category
    3 products
    2 'other' pages

    If you want your Search to be able to include searching pages other than just products, this is the one.


    B) SiteSearch Plus

    If your server has PHP in strict mode, there are additional edits needed in a file. This is mentioned on the support thread, but is not included in the downloaded package.

    This is the only package that has the email option.


    C) SmartSuggest - Self-learning Ajax Search Suggestion

    This is the only package that records the Searched for words. Personally, I find this feature very useful.

    Changing the configuration can alter the number of search hits.


    D) Twitter Typeahead Autocomplete Search

    Plug and Play. This is clearly the prettiest of the add-ons. There are *many* options one can adjust and configure. Using the 'out of the box' configuration, this gave the second highest number of search hits.


    Final thoughts:
    I like the search functions that allow the user to go directly to the product or page, without having to make a detour through Advanced_Search_Results.
    If I could pick-and-choose features, I'd start with D, add the ability to select the searched pages from A, and the recording of the searched for words in C

    Your results may vary. Only you can decide what is important for your shop.


  25. Like
    Moxamint reacted to frankl in [Addon] Extended Reviews   
    Allows for better, more detailed reviews than stock osCommerce.
    Suitable for osCommerce 2.34BS Edge.
    Customers rate your products on whatever criteria you choose (included is Ease of use, Value for money and Quality – these can be changed).
    There are also fields for Best Feature, Worst Feature and a text box for a review description.
    Customers can choose a nickname to display on the review.
    Other customers can up or downvote reviews according to how helpful they are (one vote per IP for each review).
    On product pages reviews are displayed in the order of highest stars/highest number of upvotes.
    Reviews need to be approved by admin before going live. Reviews can be edited by admin if necessary.