Jump to content

sean1688

Member
  • Posts

    52
  • Joined

  • Last visited

Everything 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. can someone tell me how to add a email template to automatically send an email to admin when an order is marked "canceled"? thanks in advance
  3. 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?
  4. 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?
  5. 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'))
  6. Brian, Thanks again for your help. unfortunately. it did not seem to do anything.
  7. 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>"? thanks! do I also put the line <script>document.cookie='resolution='+Math.max(screen.width,screen.height)+'; path=/';</script> in this file as well?
  8. Thanks for your help! it did sort of fix the problem, but I had to add a lot of returns and breaks to push the other content down to avoid the layout of the page getting all mixed up.
  9. I tried to do it, but it does not seem to work. Not sure if I have done anything wrong. I put the script at the file named /js/plugins.php not sure if this is correct
  10. 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.
  11. 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/
  12. Thanks Brian. I did the change, it removed the shipping, but the sales tax part is still there. what we would like to do is to show the estimated shipping but not the sales tax.
  13. 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
  14. after resubmitting the second link, it seems to updated and got rid off the items in the basket.
  15. 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
  16. 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.
  17. 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
  18. 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
  19. nothing seems to happen when I tried to sort
  20. I am not sure if it's our site only, but we cannot get anything if we try to do an advanced search. the website is http://www.mastechpowersupply.com any help is appreciated. we are running 5.2.16 please delete this, I think it's a mistake on my part
  21. Thanks for your help! we are using 5.2.16 . I did put in the change, it does not seem to make any difference. you can try it on our site, just search for 30V and then try to sort it.
  22. the sort function does not seem to work on search result, is this a bug or is it normal? our website is http://www.mastechpowersupply.com, if you search for 30V, there are a lot of results. it will be nice to sort the results, and the website does provide that "sort" function, but if you try to sort it, it does not seem to do anything? thank you in advance for your help.
×
×
  • Create New...