Jump to content

ChrisColeman

Member
  • Posts

    121
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ChrisColeman

  1. Hi, after upgrading my server to PHP 7 I cannot print orders .. I receive a server 500 error .. In the php error log I can see - Which is a bit strange because the printfile is alive and well in exactly the same location, ie. it just will not print. I can luckily switch back to PHP (5.6) fairly easily. But still I cannot print the file (funny it used to work), so I delete the print file which was left behind by PHP 7, and try to print again - This time success. Any ideas - I would like to upgrade PHP on all 6or7 cubecart sites I am running. Many Thanks. Chris Coleman.
  2. So does someone know the answer ? Or not ? Chris.
  3. No problem, I can wait I have implemented my own solution using SMARTY but would like something better because have multiple stores to support, and because I have to present an ambiguous message to users. Just to reiterate .. As mentioned above maybe a new Hook is possible. The problem occurs because when the PHP code returns 'no address available' it does so even is there are addresses in the address book, if none of those is designated as a billing address. If I had a HOOK I could return some thing different like 'There are address(s) in the address book but none are designated as the billing address' or just ''There are no addresses in the address book", appropriately. Currently in both sets of circumstances the user is redirected to 'add a new address'. Chris.
  4. When I define an administrator I see 'Link to Customer Account', why would I wish to link to a customer's account , or should it be Administrator's account, and even then what would be the reason to do that ? Thanks and Regards, ChrisColeman.
  5. Well I did consider changing the code - but I dont want to have to change it again each time CubeCart makes a new release (£$!?), also I have about 8 or 10 CubeCart stores to maintain, some quite old so I may have to multiply the above several times therefore need a satisfactory solution Well yes that is the crux of the problem - The return from the core code is ambiguous - There's a whole bunch of code in the foundation skin which is just unecessary but I think it was put there to get around the return from the core code; However there is possibly a different reason so I should not speculate on that. Happy Days .. Chris.
  6. Yes, thanks for the reply - anyway I found a way around my problem using SMARTY but its a bit messy .. Chris.
  7. If a user attemps to checkout without an address he/she is redirected as follows - Which is fine .. However if the user does have an address book but has not defined a defaut address he is still directed to httpredir('?_a=addressbook&action=add');, would it not be better in this case to , which could provide both edit and add options. Chris.
  8. Ok I guess that was a slightly misguided qestion - Anyway I worked it out so you can contine to ignore it - Or just delete it .. Many Thanks, Our scientific power has outrun our spiritual power. We have guided missiles and misguided men. Martin Luther King, Jr.
  9. Hi, when a customer logs in s/he is redirected to - _a=account, which I think is the foundation skin default . In the skin I am making there is a login tab on every page, but I do not want the users to be redirected to the accounts page when they login. I would like them to stay on the same page, ie. could be a catalog view, the homepage or just viewing a product. Can I set any uri in the smarty {$REDIRECT_TO} field or are there some limitations ... Thanks.
  10. Hi Experts - I would like to add addition styles to CKeditor - I.E. to give store admin addition flexibility when adding products. Is it possible, has anyone done that ? Many Thanks.
  11. Hi, question of interest, what source does CubeCart use in order to find the current exchange rates .. Thanks.
  12. Ok thanks - I agree with Al (also with myself?), any way I am using media queries combined with a browser-detect module - Perhaps I didn't need the browser detect but I like to make some items not visible on phones .. For info .. my own skin .. Many Thanks, Chris.
  13. I am working on a site and have used a PHP utility to detect mobiles, tablets, phones etc, and my skin reacts accordingly .. I was just wondering about teh mobile-skin option which I have not used. The question is 'What does CubeCart use to detect mobiles' ? Thanks.
  14. Yes good. So the language is selected based upon the active language as selected by the user , great makes it a lot simpler. Thanks and Regards.
  15. Hi, I would like to support multiple languages (ie. French & English), I would add a choice just like currencies and am familiar with code hooks. Has anyone done this or can you offer some guidelines. The way I see it there are two parts to this - 1) The language associated with the inventory 2) The default store language. Many Thanks, Chris. Coleman.
  16. So I guess, we could set up an hidden product called for example 'Extra postage' with different rates as product options. Then when a subject customer make a payment - Login as the customer Purchase the appropriate option from 'Extra Postage' Leave the order in 'pending' status Inform the customer of new invoice, which must be paid before initial invoice is released Then in Admin await payment complete for the pending charge (3. ) Seems like it might work , has someone tried that - ?? Chris.
  17. I was just wondering - Is it possible to add an order, or to update an order, and then allow the customer to pay for the changes using their CubeCart account. The problem we have is that some of the larger items which are shipped internationally incur additional shipping charges, we have considered modifying a shipping method to take into account the size of items when necessary but the admin overhead in doing that is large, admin would need to add shipping charges for individual products and keep them up to date .. Therefore we are considering that when we receive such an order, we will just generate an additional invoice to the customer for the extra shipping charges allowing payment by logging into their CubeCart account, obviously the customer would only wish to pay using the same method that was used to place the initial order. Is that possible ?
  18. Hi, thanks for that, very useful.. I'll phpadmin it. Best Regards, Chris.
  19. Hi, I just tried to add county 'East Riding of Yorkshire' for postcode HU14 3RH, which is what it should be but its not in the list ? Chris.
  20. yes - Actually I did not need to change includes file - Just changed the SSL setting as mentioned above by bsmither, the incorrect setting were migrated with my development system which used a different domain name. Of course if you did have those fields in your includes file you should remove them for latest version of CubeCart. Chris.
  21. Hi, well thanks, it was indeed a permissions problem on the server. I had to write a little PHP script to change the permissions . CPANEL would not allow the permissions change, probably because I uploaded the site from a development server. By the way forgive my terminology in previous post - I understand that SMARTY does not serve files. Thanks Chris.
  22. That seems a bit strange - If SMARTY is serving the pages then they should be cached ? Globals caching is set as 'file' ? When I run in debug mode I see - 'Always Disabled in ACP', although that might be because I'm in debug mode. Anyway is there something I can do to determine the source of the problem? Chris.
  23. Hi, on two CubeCart 6.1.0 stores the cache is enabled but I don't see everything in the cache folder. Well actually I do see what I think is the SQL part of the cache but the skin section is empty. Is that normal ? I see no errors in any log . Thanks.
×
×
  • Create New...