huggettm

Member
  • Content count

    198
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

Recent Profile Visitors

6,533 profile views
  1. German Language

    thanks brian
  2. German Language

    Hi, where are language files located for the store text to upload?
  3. changing displayed shipping order

    Thanks brian, I tried this // Lets try to choose cheapest shipping option // for them if they haven't chosen already if ((!isset($this->_basket['shipping']) && !$digital_only) || (!$offset_matched && isset($this->_basket['shipping']['offset']) && !$digital_only)) { foreach ($shipping_values as $value) { if (!isset($cheapest['value']) || $value['value'] > $cheapest['value']) { $cheapest = $value; } but it makes no difference in the cart view
  4. changing displayed shipping order

    thank you, that looks good but a bit over the top for what i am trying to achieve
  5. Hi, I have done this on a cc6 store a long time ago and cant seem to recall the method, I would like the cart to display the most expensive shipping first as default instead of the cheapest?
  6. Payment Gateway Complications

    Braintree refused us too, I'm not sure what their requirements are, we are a limited company having been trading for 7 years.
  7. Has anyone changed the checkout proceedure so that alternate checkouts are more easily seen. For example on foundation, you have to go to basket/secure checkout and then only after the fields to enter text for name address etc is the option for paypal checkout (which doesnt need forms) can this be added as a link to the view cart popup?
  8. Customise order numbers

    that doesnt seem to work, have I over simplified it? ah got it, I didnt change the character number after the prefix to 3 in my case: public static function validOrderId($order_id) { if(preg_match('#^[OFD]{3}[0-9]{6}-[0-9]{6}-[0-9]{4}$#i', $order_id)) { return true;
  9. Customise order numbers

    Hi Keat, Thank you much appreciated. so in my case I would also need to change order.class: public static function validOrderId($order_id) { if(preg_match('#^[OFD]{2}[0-9]{6}-[0-9]{6}-[0-9]{4}$#i', $order_id)) { return true;
  10. Customise order numbers

    ah thanks I missed coupons and downloads
  11. Customise order numbers

    ok thank you is there a way to search for the instances of cart_order_id - or is it a manual check of all tables? so far i can see order_history order_inventory order_notes order_summary order_tax cubecart_transactions which would be ALTER TABLE `CubeCart_transactions` CHANGE `order_id` `order_id` VARCHAR(24) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL; ALTER TABLE `CubeCart_order_history` CHANGE `cart_order_id` `cart_order_id` VARCHAR(24) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL; ALTER TABLE `CubeCart_order_inventory` CHANGE `cart_order_id` `cart_order_id` VARCHAR(24) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL; ALTER TABLE `CubeCart_order_notes` CHANGE `cart_order_id` `cart_order_id` VARCHAR(24) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL; ALTER TABLE `CubeCart_order_tax` CHANGE `cart_order_id` `cart_order_id` VARCHAR(24) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL; ALTER TABLE `CubeCart_order_summary` CHANGE `cart_order_id` `cart_order_id` VARCHAR(24) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;
  12. Customise order numbers

    thank you, so to add a prefix "OFD" the function $this->_order_id = date('ymd-His-').rand(1000, 9999); becomes $this->_order_id = OFD.date('ymd-His-').rand(1000, 9999); ? is there a function to change the order_id in the db, I have just seen it is also in cubecart_transactions also
  13. Customise order numbers

    Hi Brian, yes I have no idea what actually creates the order id to edit it
  14. Customise order numbers

    ok so it can be done, I can see cart_order_id appears in: order_inventory and order_summary tables?