Jump to content

keat

Member
  • Content Count

    1,499
  • Joined

  • Last visited

  • Days Won

    22

keat last won the day on October 12 2019

keat had the most liked content!

Community Reputation

23 Excellent

2 Followers

Profile Information

  • Gender
    Male
  • Location
    Leeds UK

Recent Profile Visitors

7,952 profile views
  1. This seems to work to an extent. <?php $upper_val=9999999; $lower_val=12.00; $value = number_format($upper_val, 2); if($GLOBALS['cart']->basket['weight'] > $lower_val && $GLOBALS['cart']->basket['weight'] < $value) { $GLOBALS['gui']->setError ('You appear to have ordered too many gloves - sorry '); $GLOBALS['smarty']->assign('DISABLE_CHECKOUT_BUTTON', true); } ?> The lower value doesn't work as I'd expect it to, but 12 is close enough to 10, to stop someone coming along and orderin 1000. I'll have to check the database to ensure nothing else has a weight assigned before I consider implimenting it. Probably tomorrow when i'm in the office.
  2. I'm getting somewhere with my minimum order value hook which I devised a few years ago. Could you help me finish this off. I've aloocated 1kg to a box of gloves, It would be good if this would poup up when a basket exceeded say 10 or 20kg. ?php $upper_val=15.00; $lower_val=10.00; $value = number_format($upper_val, 2); if($GLOBALS['cart']->basket['weight'] > $lower_val && $GLOBALS['cart']->basket['weight'] < $value) { $GLOBALS['gui']->setError ('You appear to have ordered too many gloves - sorry '.$value.'.'); $GLOBALS['smarty']->assign('DISABLE_CHECKOUT_BUTTON', true); } ?>
  3. We do, but this guy is not a guest account. Coming back to the PPE limit. Would something like this work: We don't have weights allocated against products, If I were to allocate 1kg to a box of gloves, could I set a weight limt to an order, of say 10kg.
  4. 6.2.6, but I just personally tried the status button thing twice and can't fault it.
  5. I spotted that status button, but it doesn't appear to work, we had one order again today and I disabled him a week ago. Let me play with my test login. Odd, as I just un-statused myself, and can't login and can't reset my password, yet a troublesome profiteer placed an order today, despite him being un-statused. Strange.
  6. is there a way to deactivate a customer account, maybe some way to also stop him creating a new account with the same email address.
  7. We can spot the profiteers and are allowing a few of their sales through, but once we feel that they are now taking the p*$$, we are cancelling thier orders. We have 4500 product lines, with new customers signing up daily, so I don't want to make things difficult and time consuming to manage. If I could somehow limit the amount of boxes of a few products that any customer could buy, it would weed out the genuine user from the profiteer. This wouldn't stop him coming back and placing another order I guess, but he might get fed up. No plugins that you are aware of ?
  8. Due to Covid19, we are fast selling out of PPE. As our prices are defined by a printed catalogue, it's difficult for us to justify any price increases. So for instance, our Latex Gloves are at the same great price as they were many months ago. We are inundated with new customers who we've never had any dealings with, buying tons of gloves, to probably sell on at an extortionate price on auction platforms. I've seen our products which we sell for £3.95 being sold for £20+ on ebay. I want to stop this by limiting an amount a customer can purchase, so our regular customers can still get the same product at the same price. Is there any way to put a limit on a product, so a customer could only buy 10 for instance. Polite notes are being blatently ignored.
  9. We see them also. Not very many, but they do happen. I've come to the conclusion that it's a browser cache issue, maybe the customers cache isn't cleared, or he's hitting the back button.
  10. Guys Anyone using this. We used to have an ebay account, but closed it due to it upsetting some of our customers who use the platform themselves. However, times are hard at the moment, sales are down, so I'm considering creating a new ebay account and try to sell our products on there too. I've put a call out to Noodleman to call me for a chat, but in the meantime, does anyone use this. ?? Does it create adverts for you ?? I'm looking for something that would potentially get us up and running, in the least possible time with the minimum of fuss.
  11. This is the behaviour I'm seeing. If I open a product to make an edit, the 'auto code' check box is unchecked. (normal) I found that if i modify the 'use stock level' from unchecked to checked, this can somehow inadvertantly mark the 'auto product code' to checked. Even though my mouse pointer is no where near. I guess like a ghost click It seems to happen if i'm a little on the keen side, ie during the screen refresh. Whilst I don't know what's causing it to happen, I'm now aware of the scenario, so it's something I can watch for.
  12. Remembering the issue from years gone by with the image picker causing a delay, I thought it prudent to move the images again. Over the years, these had crept up to 1500. The fault still exists though. <span> <label for="product_code_auto">Automatically generate product code</label> <input name="product_code_auto" id="product_code_auto" type="hidden" class="toggle" original="" value="1"> <img src="admin_jfOiN9/skins/default/images/1.png" title="Disable" alt="Disable" class="checkbox" rel="#product_code_auto"> <input name="product_code_old" id="product_code_old" type="hidden" value="" original=""> </span>
  13. Not the answer, but maybe a clue It seems that there's a small period when entering a product page that the page finished downloading or maybe performing a refresh. Maybe about 1 second in time. If I changed the 'use stock level' during this refresh, it appears that 'automatically generate product code' becomes selected, but not every time.
  14. I scoured the files for 'product_code_auto' which appears in multiple files, including a few backup files from previous versions, and nothing jumps out at me. However, having said that, i also figured that it can't be a simple coding error like 'product_code_auto=1' as the problem doesn't happen everytime. That's me flummoxed.
  15. Accoring to the CPanel forum, the PHP error is related to garbage collection, which we've discussed on here before. https://forums.cpanel.net/threads/php-session-failed-permission-denied-13.657835/ The recommendation is to ignore it. I have Garbage clean up configured for about a week, and I see no stale sessions older than this in the php sessions folder. I will investigate the product_auto_code thing though. I'll report back if i find anything.
×
×
  • Create New...