huggettm
-
Posts
294 -
Joined
-
Last visited
Posts posted by huggettm
-
-
i use a symlink folder so images are shared across all websites, i cant view the filemanager - > images from any of them, there are alot of images in the folder
-
thanks for the quick reply, is that filemanger> images?
I get a blank screen - i guess a php memory issue
is there a way to do this with mysql?
-
Hi, is there a maximum amount of files that can be in the filemanager DB?
I am using the datapump mod to setup products which works for most of them, but some images are not recognised (see log attached)
However all files do exist on the server and can be accessed manually
for example
https://wonderland-fancy-dress.com.au/store/images/source/AC78778.jpg -
I do have delivery estimates disabled.
What I want is to add a checkout by paypal button to the cart popup
-
-
resolved - it was the way excel formatted it.
-
I am using
PayPal Website Payments Pro & Express Checkout integration. with express only enabled?if a customer is not logged in (a new customer), the option to checkout by paypal does not appear until after the address info is asked for
-
I have uploaded directly to the database and it still comes out like this
https://party-fancy-dress.eu/store//cavewoman-kost-m-f-r-erwachsene-weiblich-one-size.html
-
thank you, is there a way to check?
-
anyone know how to get cubecart to accept german special characters in the names and descriptions?
-
no it doesnt show until the end
-
thanks brian
-
Hi, where are language files located for the store text to upload?
-
aha, thank you
-
19 hours ago, bsmither said:
In /classes/cubecart.class.php, near line 1676:
Find: // 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)) { // Scanning for cheapest shipping because shipping has yet to be set and this basket is not digital only. foreach ($shipping_values as $value) { if (!isset($cheapest['value']) || $value['value'] < $cheapest['value']) { // Found a cheaper value! $cheapest = $value; Change the comparison of less than to greater than.
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
-
thank you, that looks good but a bit over the top for what i am trying to achieve
-
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?
-
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?
-
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; -
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; -
ah thanks I missed coupons and downloads
-
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; -
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
-
Hi Brian, yes I have no idea what actually creates the order id to edit it
certain images not recognised
in Technical Help
Posted
the store log does not have an error