Jump to content

sean1688

Member
  • Posts

    52
  • Joined

  • Last visited

Posts posted by sean1688

  1. Thanks for your reply.

     

    however this does not work.

     

    the Cubecart is set up to send email to the admin when an order is paid. this is working fine for us.

     

    what we want to do is to also send an email to admin when an order is canceled. this will be adding an email template, but I don't know how to do that.

  2. thanks for your reply. I tried to change the search mode per your suggestion, but nothing seems to have changed.

     

    maybe I should rephrase the request. can we implement the search so that a match of subset will be presented?

     

    in other words, the product code is HY3005D, but if we search for a subset of that, say 3005D, the result of HY3005D search should be presented instead of null?

  3. can we enable fuzzy search on cubcart?

     

    for example, on our website http://www.volteq.com, you can search for "hy3005d", and it works as it's a product code.

     

    if you search for "3005D", it says nothing is found.

     

    is there anything that we can do to make the search like "3005D" yield the same results include HY3005D?

  4. purechat is a live chat service, and they provide a very small javascript to install on the website to enable live chat with visitors.

     

    their instructions said to: Copy and paste this code just before the closing </body> tag on every page you'd like it to appear.

     

    I did a little search on this forum and placed the code in the main.php, but it completely broke the code and the website fail to launch.

     

    can someone help?

     

    this is the beginning part of the code, I removed part of the code to hide account information.

     

    <script type='text/javascript'>(function () { var done = false;var script = document.createElement('script');script.async = true;script.type = 'text/javascript';script.src = 'https://app.purechat.com/VisitorWidget/WidgetScript;document.getElementsByTagName(HEAD').item(0).appendChild(script);script.onreadystatechange= script.onload = function (e) {if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) 

     

     

  5. Try adding the following to your mobile css file

     

    .sliderimg {

        border: none;

    max-width: 100%;

    display: block;

        margin: 0 auto;

    }

     

    Then give each image a class="slideimg"

     

     

    Thanks for your help! How do I give the image a class="slideimg"?

     

    also where do I put the code "<script>document.cookie='resolution='+Math.max(screen.width,screen.height)+'; path=/';</script>"?

     

    CC5 uses two skins: the main skin (probably Kurouto) when not using a mobile device, and the Mobile skin, when is using a mobile device.

     

    So, if the task is to get this javascript installed because images are too big for mobile devices, we must edit the Mobile skin template, main.php.

     

    I would recommend adding the line of code just above:

    <meta http-equiv="Content-Type" content="text/html;charset={$CHARACTER_SET}" />

     

     

    thanks! do I also put the line <script>document.cookie='resolution='+Math.max(screen.width,screen.height)+'; path=/';</script> in this file as well?

  6. we have some big images that goes outside of most mobile screens.

     

    I have came across some work by Mat Wilcox.

     

    have anyone implemented this on Cubecart?

     

    below are the instructions, and they seem simple enough, but I am afraid to try it.

     

    in particular, I have a question: 

    the instructions says " It MUST go in the head as the first bit of JS, before any other JS."

     

    so where do I place this piece of code?

     

    at the index.php file?

    Basic instructions

    Copy adaptive-images.php and .htaccess into the root directory of your site. If you already have a htaccess file DO NOT OVERWRITE IT, skip down to the advanced instructions.

    Copy the following Javascript into the <head> of your site. It MUST go in the head as the first bit of JS, before any other JS. This is because it needs to work as soon as possible, any delay wil have adverse effects.

    <script>document.cookie='resolution='+Math.max(screen.width,screen.height)+'; path=/';</script>

    That's it, you're done. You should proberbly configure some preferences though.

  7. we have some tables with pictures and links on some of our pages, the table gets too big for the mobile screens.

     

    Does cubecart support responsive tables? if not, what can we do to make it responsive?

     

    I found some code here: http://codepen.io/geoffyuen/pen/FCBEg

     

    but it did not work because I don't know where to put the css code, and even if I do, I am not sure if the code works for cubecart.

     

    this is the page with the table that we want to make responsive:

     

    http://www.mastechpowersupply.com/

  8. Hello,

     

    on our site http://www.mastechpowersupply.com, whenever a customer add an item to basket, the CA sales tax will be added to the total. this sales tax goes away when a customer put in an address that's not in California. my question is, is it possible to not add the sales tax when an item is added to basket, and only include the sales tax when the address customer put in is inside California?

     

    Best regards,

     

    Sean

  9. what I did was I removed the ExpiresDefault "access plus 1 month", but left others intact.

     

    no, the artifact is not related to the  switching between different versions of your domain such as with and without the www.

     

    specifically, I see one item in basket (correct one) when at http://mastechpowersupply.com/linear-dc-power-supply.html, but see two items in basket when at http://mastechpowersupply.com/variac-auto-transformer.html (wrong).

     

    the good news is that if I actually click on the view basket, it shows the correct information.


    after emptying the basket, I went to check again, the first link again showing the correct item in basket (which is 0), but the second link still has two items in the basket

  10.   havenswift-hosting and Al   thanks for your help. it seems to take care of the issues. however, there are some random artifacts if you add something to the basket and then remove them, and go to other links. you may see basket being empty  on some links and showing there are items in the basket on other links. strange, but at least does not affect the ordering process.

  11. on a related topic, out of the changes on .htaccess file for improving website speed, which ones are compatible with cubcart? we are currently running 5.2.16


    we the changes were suggested by google, and put in ourselves. we did notice a visible improvement on the speed of pages loading, but came to realize the problems.

     

    so my reqeust is two folds:

     

    1) how to resolve the issue of "empty basket", if it cannot be done easily, can we simply remove the button?

    2) what changes are compatible with cubecart, as we do wish to improve the speed of website

  12. Please help!

     

    website http://www.mastechpowersupply.com

     

    the issue:

     

    customer can add an item to the basket, and manually change the quantity and update the basket. however, the "empty basket" button does not work. it seems to do nothing

     

    I thought I tested before and it worked, but yesterday when trying to improve the website speed, we put in these changes to the .htaccess file and I started to notice the issue and other related issues. after commenting out the changes to the .htaccess file, we are still having this issue.

     

    # <IfModule mod_expires.c>
     
    # Enable expirations
    # ExpiresActive On
     
    # Default directive
    # ExpiresDefault "access plus 1 month"
     
    # My favicon
    # ExpiresByType image/x-icon "access plus 1 yearâ€
     
    # Images
    # ExpiresByType image/gif "access plus 1 month"
    # ExpiresByType image/png "access plus 1 month"
    # ExpiresByType image/jpg "access plus 1 month"
    # ExpiresByType image/jpeg "access plus 1 month"
     
    # CSS
    # ExpiresByType text/css "access 1 monthâ€
     
    # Javascript
    # ExpiresByType application/javascript "access plus 1 month"
     
    # </IfModule>
     
    # compress text, html, javascript, css, xml:
    # AddOutputFilterByType DEFLATE text/plain
    # AddOutputFilterByType DEFLATE text/html
    # AddOutputFilterByType DEFLATE text/xml
    # AddOutputFilterByType DEFLATE text/css
    # AddOutputFilterByType DEFLATE application/xml
    # AddOutputFilterByType DEFLATE application/xhtml+xml
    # AddOutputFilterByType DEFLATE application/rss+xml
    # AddOutputFilterByType DEFLATE application/javascript
    # AddOutputFilterByType DEFLATE application/x-javascript
     
×
×
  • Create New...