Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Gotabor

Members
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    1

Gotabor last won the day on April 2 2019

Gotabor had the most liked content!

Community Reputation

15 Good

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. First, do you have any clean backup from Cpanel, your host ? The fastest way to get back online would be I think to download your current FTP and database and keep them in an "infected" file on an external disk, so you can access them later. Then delete everything from files to database and reupload the latest non corrupted files. That's what I did a few years back when a wordpress blog was hacked. Usually hackers setup multiple backdoors when/where they can, so a clean install is the safest way. And of course change your admin password + user and password that link the database to your prestashop if you do that. Otherwise your hacker might come back sooner rather than later... Hackers don't care if you are small or big. Actually, smallest company are more badly hitten when a hack occurs since they don't have the people to simulate attacks and at the ready when something wrong is happening... That's why ransomware are very dangerous. From what you are saying hack could either be coming from you or it could be related to a flaw on your provider part. If it's from the provider, changing would be very wise. And if you are based in Europe, you also have to comply with the GPDR and announce to both customer and the organism responsible to apply the GPDR that you have been hacked (I believe it's 48/72H to the organism after you have discover the hack)... I'm no expert in hacking issues but I hope you'll find a few useful tips in there. Good luck with solving your issue.
  2. What kind of mail are you sending that needs to be linked to the shop ? Abandonned cart and that kind of features, or is it "just" for promoting to all of your subscribers new products, black friday offers and newsletters... If it's only for the latter I would go and work only on a third party tools. It's a single web shortcut, and you have no compatibility issue to worry about. The biggest issue I can see is to think about updating the database.
  3. Hello Thirty Bees community ! I had to come up with a little hack to respond to a problem I found little to no answers on google. So here is a post for people looking for that, and maybe even an idea to integrate in Thirty Bees core (I'll let you decide about that 😉). What was the need ? Some people on my company have to deal with orders but don't have the right to go in the product pages. And since the reduction amount is only displayed there by default in both Prestashop and Thirtybees, I've had to display that information on orders related documents. Hence my decision to display it on both the order mail and the order page. Setup the mail The setup for the mail needs two steps. First adding the reduction amount in the email : public_html/modules/mailalerts/mailalerts.php <td style="padding:0.6em 0.4em; text-align:right;">'.Tools::displayPrice($unitPrice, $currency, false).'</td> <!--The line you are looking for--> <td style="padding:0.6em 0.4em; text-align:center;">'.(int)$product['reduction_percent'].'%</td> <!--The line you add just below--> Second you need to add the TH so your table mail don't look broken. You need to edit the new_order.html template : public_html/modules/mailalerts/mails/LANGUAGE/new_order.html public_html/themes/YOURTHEME/modules/mailalerts/mails/LANGUAGE/new_order.html <thead> <tr> <th style="border:1px solid #DDD!important;background-color:#fbfbfb;font-family:Arial;color:#333;font-size:13px;padding:10px">Reference</th> <th style="border:1px solid #DDD!important;background-color:#fbfbfb;font-family:Arial;color:#333;font-size:13px;padding:10px">Product</th> <th style="border:1px solid #DDD!important;background-color:#fbfbfb;font-family:Arial;color:#333;font-size:13px;padding:10px">Unit price</th> <th style="border:1px solid #DDD!important;background-color:#fbfbfb;font-family:Arial;color:#333;font-size:13px;padding:10px">Reduction</th><!--The line you add--> <th style="border:1px solid #DDD!important;background-color:#fbfbfb;font-family:Arial;color:#333;font-size:13px;padding:10px">Quantity</th> <th style="border:1px solid #DDD!important;background-color:#fbfbfb;font-family:Arial;color:#333;font-size:13px;padding:10px">Total price</th> </tr> </thead> Setup for the order page Same thing that the mail you need to first add the reduction amount and then edit the head of the table so it don't look broken : public_html/YOURADMINFOLDER/themes/default/template/controllers/orders/_product_line.tpl <!--The line you are looking for--> <td> <span class="product_price_show">{displayPrice price=$product_price currency=$currency->id}</span> ... </td> <!-- Add just below --> <td> <span class="product_price_reduction">{$product.reduction_percent} %</span> </td> public_html/YOURADMINFOLDER/themes/default/template/controllers/orders/helpers/view/view.tpl <!--The line you are looking for--> <th> <span class="title_box ">{l s='Unit Price'}</span> <small class="text-muted">{$smarty.capture.TaxMethod}</small> </th> <!-- Add just below --> <th> <span class="title_box ">Reduction</span> </th> What are the problems ? To integrate this code in the Thirty Bees core will require some rewriting since mine is definitely sloppy : - no translation for the header of the tables. - I only display percentage and not the possibility of reduction by amount - I don't display the original price - I haven't gone that far but it should be noted that the customer mail should also have info about the original price, the reduction amount and the new price. So, here you have it guys, I do hope this will help some people out there. Sources : Big thanks to Nemo and Peter on this thread which help me a lot https://www.prestashop.com/forums/topic/602779-display-product-reduction-in-backoffice-order-details/
  4. Here is the way to disable it on the TPL. It's good to know that there were issues with the css method. Though it's kind of curious since completing that field isn't mandatory for the customer to begin with.
  5. Thank you Wakabayashi ! I didn't know that cookies were classified in first party (the domain currently browsed) and third party (advertisers and retargeting). So I thought that the removal of third party cookies meant cookies others than those of Google. I guessed that's a lesson learned from now on 😉
  6. Hello everyone, I know this is old news for most of you, but I've been reading recently that google was planning to get rid of third party cookies in Chrome on the long run. Is it only ad related, or will it also kill cookies like those used by Prestashop and Thirty Bees to manage the carts of unlogged users ?
  7. @vzex, your idea of a "complete address" is one of many. For some people and country they won't matter since they'll be selling mostly small products and send them through standard postal way. But there are of course people selling in countrys with states having various tax rates, people selling heavy product and thus having more constraint. With heavy cargo, some carriers even have specific grids that are based on towns altitude, distance from storage center and don't take anything else into account. Not to mention people selling all over the world... And like @datakick wrote while I was answering you there are also things like VAT number which seems mandatory for some while other look at it and are thinking "not useful". Also trust @wakabayashi about modules. They are the roadway for maintenance. When I took my job I was very green and did many unclean things including hardcoding some controllers (yeah I deserve to be slapped) and now, I'm like : "The website is fine it's getting more order every year, but how can I transition to TB, or any other ecommerce from where I am and not break the thing apart ? " The answer is I just can't, and I'll have to rebuild the changes I made over the year once we decide to change the CMS.
  8. The address database table contain only the ID for the state, so there is a little something to create to get the ID and then get the state database table which is the only place where the state name is written in the database. And then replace the ID with the name. So no, nothing really complicated when you know how to write it 😉 EDIT : as for not having state, in my case I had to create them since they didn't existed in Prestashop/TB. And I think that's parly why the code don't display the states to begin with, because not all states of every country is available
  9. I think that currently the only way this can be achieved is by making modifications (overrides) on the file that can be found in controllers/admin/AdminAddressesController.php Aside of that I can't tell you specifically how to change that. I'm not that good and the furthest I went with my attempt to make this work ended up by implementing the column with the ID of the state. But I never found out how to put in the name of the states instead of the ID. (I made this on PS 1.6 not on the TB though) Overall, this problem is linked to a bigger problem. Merchents do tend to modify these lists according to their needs as an exemple I also added the the "note" field in client, order and address controller. Because I need that field as a customer code is given for our ERP system and it's faster to use this to find a customer on the website. I really don't know if this is possible, but maybe it would be interesting to look at a possibility for merchants to modify the list without touching the controllers or override them.
  10. Thanks for the warning Theo ! For TB security I just went through the module folder on our 1.08 looking for the vendor/phpunit (what is indicated on the google doc). I didn't find anything, but this shop is very basic with mostly core modules and some 1.6 compatible ones. I still advise you to check the directory. You know, security first 😉
  11. Have any of you tried the ads on gmail ? I was wondering if it is interesting or not. Since they are always at the same place are they impacted by the "blindspot effect" ? (When an ad is always present at a certain spot, the user ends up neglecting it without even being aware of it)
  12. In your exemple with "best boardgames for fanatasy nerds" I agree that the video isn't the best media. It could work if you do one for each month or year to show new boardgames. But I don't know if the time you'd spend en such content would bring you much views and orders. Though in the case of boardgames, maybe you could find a compromise by sponsoring a influencer. Giving games and maybe some cash in exchange for a sponsored ad in the video presenting the game (I don't know how this really works so if someone got some insights on the topic it would be great). For the blogs, I agree they are useful, but making a high quality content takes an awful lot of time. And you need to update it quite often to bring viewers. Once again it depends on the products sold, but I think that if I have time to write something in a blog, then I can update or create an awesome product description by rewriting the text, adding images inside the description and so on. In other word betting on natural SEO.
  13. Social media really depends on what you are selling and whom you are targeting. The stores I manage are focused on B2B targeting a specific profession. Facebook and Twitter alike aren't bringing us any traffic. We tried facebook ads for the first time in july on a popular accessory that is often bought by both companies and employees. Turns out that it brought us a lot of sales on a 10$ product and it was one of our most profitable marketing campaign of the year. But we had the offer, the timing and we knew the target very well. From what I've seen, being active on facebook is more worthy if you have a physical shop and your e-commerce shop is a complement to it. Or if you are very popular and focusing on B2C like Zalando, Displate and many more. If you sell artistics / design products, you might want to create an Instagram account. I'm not very fond of social networks that are focusing on appearence and images, but in this case, they are definitely more relevant than Facebook and Twitter. If you are focused on selling technical products (car parts, computer parts, a tech product which require a specific setup process...) then maybe you should focus more on making youtube videos. It take a lot of time (or cost a lot if you have to hire someone). But you can integrate them in your product pages with a 30$ module. By making a tutorial on how to install the product properly, you bring something to the table that your competitors don't. And it's also reassuring for the customer. And if you make enough videos you may even gain a few subscriber on youtube (not that it's very useful though). Lastly sometime shops have a card appearing on the right of google search (like when you are looking for a bakery, hairdresser...), this gives useful tips like opening hours and days, phone number, physical address and so on. If that's the case for you, create a few accounts and leave positive reviews with comments in the field there (do them with a few weeks/months beetween each) and make them realistic (like talking about a product purchased, even adding a picture). It will help, and once there are a few comments, your customer might feel like leaving a comment too. By the way, never delete any comments with 1 star. It's better to answer them. People can't see deleted comments but the 1 star remain...
  14. Solution found : I've found this free module posted on the Prestashop Forums. It allows to set a the price for the free shipping and substract this the cart value to the amount set : https://www.prestashop.com/forums/topic/494147-free-module-spend-x-to-get-free-shipping/
  15. Hello, I'm currently working on setting up free shipping for my company. The thing is we don't use the function located in shipping/preferences in the BO. Because free shipping is unavailable for some heavy weighted items and for some carriers. So I use a voucher (cart rule) to apply it instead. Now that this part is working well, I would like to show to my costumers a line of text saying "Your cart is currently worth 40€. Add 25€ and you'll get free shipping". I've gone through a lot of forum posts and tutorials (including the one from Nemo PS : http://nemops.com/prestashop-show-free-shipping/#.XWkRzuMzaUk ) ; but so far I've had no luck in finding what I'm looking for. Most of the answers, are based on using the free shipping function inside the shipping preferences and not from a voucher. Do any of you know of a method to display the amount remaining to activate a voucher based on the ID of the voucher (since there are other vouchers for specific products and promotions).
×
×
  • Create New...