Jump to content

epertinez

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by epertinez

  1. Great! Works like charm. Only ps_addresses should be ps_address (in my case?), but the rest works great. It takes 6-10 seconds to dump (plus some more to zip) so I can make it run every few minutes. Uploading it to Dropbox is almost as easy. Once created an App Key in Dropbox you simply has to call curl and takes very little to upload. HORA=$(date +"%H") BACKUP_FILE="Name of the backup file.$HORA.sql" DROPBOX_API="very very long key given by dropbox app" curl -X POST https://content.dropboxapi.com/2/files/upload \ --header "Authorization: Bearer $DROPBOX_API" \ --header "Dropbox-API-Arg: {\"path\": \"/DropboxInternalDirYouWannaUse/$BACKUP_FILE.gz\"}" \ --header "Content-Type: application/octet-stream" \ --data-binary @$BACKUP_FILE.gz See that with this code, you end up with 24 files that rotate every day, one for each hour. Easy redundancy. Not very efficient, but it works.
  2. Hi everybody. This is a thread meant, surely, to stick. As many others, I backup my customer's website daily. Yet... if someday something goes really wrong... I can end up having a couple hundred intraday invoices lost in metaspace. I would like to cron a process that backs up just the necessary data to add up to the system in case of failure. What tables would you minimally backup, say, every 5-30 minutes? How would you? With mysqldump or with a less heavy process. For example: ps_cart ps_orders ps_addresses which more? Maybe it is wise to save only registers that have been touched in the last 7 days? SELECT * FROM ps_orders WHERE date_upd>"today minus 7 days" Did anybody tried so? Any help will be appreciated.
  3. Hi everybody, I'd like to streamline the checkout process to users that have already bought in our shop. The idea would be that once the user clicks on proceed to checkout, instead of jumping to the first step (address selection) they would jump directly to the last checkout option with all fields filled in from the last order he made. So in the checkout process it would be like... if (customer_logged_in AND customer_had_an_older_order()) { id_address_delivery=get_address_from_last_order(); id_transport_delivery=get_transport_from_lat_order(); id_payment_method_delivery=get_payment_method_from_last_order(); update_everythingthathastobeupdated(id_address_delivery,id_transport_delivery,id_payment_method_delivery); } // Continue with normal checkout. This way all three steps would be pre chosen and user would jump directly to accept the payment options or edit them, just one step prior to making the order. I have not found a module or any info to do this. Yet, I guess I am not the first one that has seen this as an interesting feature, so... can anyone give a hint? Am I looking for something that has a well known name I am not aware of? Are there blocking problems that makes it very difficult to do? Is there any parameter in prestashop that let you do it so I only have to activate it? Any help will be highly appreciated. Thanks
  4. SOLVED: In my case someone (me myself?) had switched on the top right corner Mode demo button. Once unclicked, data returns to normal.
  5. Same problem here. It started today, I think. Crazy numbers everytime that I refresh the page.
  6. I am trying to do something that I presumed easy but I found no way to do it and no one complaining on Google, so I guess I am forgetting something. Let's me explain. We've got this attack on our server with lots of funny accounts being created. It was annoying but did not seem a clear thread until we found out that our Wellcome emails were being market as spam by GMail. We installed Recaptcha and the problem has been solved. Now I would like to go through all legitimate customers that logged in and did not buy, to see if any of them had this problem and want to resume the purchase. Yet, it seems there is no way to open a ticket or a conversation from the seller side in Prestashop. Is it possible? a) Customer Service page do not have any "New discussion" button to start a conversation. b) On the Customer page there a list of MESSAGES and another list with LAST EMAILS but neither of them has a button to send a new message or create a new email. c) Looking for addons there are hundreds that automate email with the customer, but I find none that simply let you start a conversation with her/him from within Prestashop admin page. Is there any explanation for this? Am I loosing something? Is there a way to start a conversation instead of replaying to a message started by the customer? Any addon? Please any tip or help will be highly appreciated. Regards
  7. It happens to us too. Did someone solve this problem? If it is related to images not being uploaded properly into the shop (lots of ? images around) will it be solved when images are uploaded properly? It happens to sometimes with categories instead of products. Any solution?
×
×
  • Create New...