-
Posts
460 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Everything posted by Pedalman
-
Hi it is June 2020 and the module is being actively developed by an agency. At the moment V4.x is the actual one but I have problems to make the payment options show in cart and perhaps there are other issues. But I like to believe that V4.x is running fine with Thirtybees. I am running at the moment Mollie module V3.5.5 for Prestashop on Thirtybees V1.1.x and I am using the fine checkout module CHEX by Datakick. As said even after a deinstall of V3.5x and a fresh install of V4.x I can not make the module show the payment options. Perhaps somebody else here has the new Mollie V4.x running and can give tips? PS: There is to be found a patch of the latest Mollie module by Waschier design https://github.com/waschier-design/PrestaShop/blob/eec24352b982397e0f68b819b634faddfa81e618/mollie.php Problem is though hooks looked fine I did a test buy via one of my payment options (invoice payment) that is not related to Mollie and I got a Error500 So, I went back to V3.5.5 and I hope all is more or less fine and customers can buy
-
If you go to dashboard settings* you see at the bottom the form to add 'additional costs' in Euro. * https://i.imgur.com/HMmEizo.png Well, I can not use that but I could use a setting to enter 'additional costs for marketing'. I bet every other merchant too! For the simplicity I suggest a value in percentage (that is something I can easily gather from my GoogleAnalytics or better Adwords account). Since I assume there is nobody working on these 'core theme' files I am asking if I could get some tips to change it for myself.
-
[solved] core updater - Windows XAMPP problem
Pedalman replied to Pedalman's question in Technical help
Thank you Datakick for the nice advice. Actually yesterday I installed some containers with macvlan and and pretty happy. But in order to get such a nice testing environment running like you suggested I need to learn much more I guess 🙂 Anyhow, I just noticed that GitUpdate.php has been updated and the core updater function in Thirtybees works flawless under Windows and Xampp. -
I was looking for information on compatibility of Thirtybees and PHP 7.4 since this is the latest my host Hetzner Europe offers for now. I do not know about Php 7.4 but the information given above might be to be updated. Well, ofcourse the post is a year old. Anyhow on https://github.com/thirtybees/thirtybees you will find: PHP 5.6 - PHP 7.3 with a minimum of 128 MiB RAM
-
I use a module that makes use of the rosell-dk library and converts none wepb images if into the WebP format directly despite the fact that my Warehouse Iquit theme is not 'tagged as webp compatible'. I think it works and wonder if could set this 'tag' in the database so Thirtybees thinks my theme is compatible. Then the option (I am missing it too) would reappear and I could perhaps deinstall my module.. (## To convert an image, using a stack of converters, use the *WebPConvert::convert* method. It is documented in [docs/api/convert.md](https://github.com/rosell-dk/webp-convert/blob/master/docs/api/convert.md).
-
Wow, these are great additions, and I am very happy you gave them to us. This makes Chex the perfect checkout module for me. Thank you a lot!
-
Well, perhaps we should start a sub forum with performance tips. I bet most of PS and Thirtybees merchants use still shared hosting, at least I do :(, and I believe there are steps to take if a small merchant grows that relate to this topic. Better host package that suits the online-shop, CDN or not, image quality, number of processes (modules, scripts etc.).... you name it. As said most of the merchants do not understand those performance settings in an online shop. And there are also those in the 'console' of your hoster. Here you could mess up things easily, too. Our shops generate at the moment about 500 visitors if I get that right. I am pretty sure that my shared host server (Hetzner) has enough resources to handle that 🙂 However, I like to believe that if my shop initiates faster ...more customers... In a nutshell, surely I am interested in a guideline for best TB settings hand in hand with my host's one's (APC, OPC...). And which steps make sense to take to perform better. I know that some time Lesley offered his services relating to this topic. And perhaps this is the better idea than a subforum since it makes most probable no sense if we merchants try to discuss about things we do not understand. And a technicians' knowledge is worth gold here and most probably should be service you hire. I do not know. Except it is difficult for a merchant when you see other sites that look the same as yours but load fast. You want to turn each screw in your shop and host's console despite the fact you do not know what you are doing.
-
Ok. I will have to see now. I just bought it and am looking for some time to play around with it. Jonny gave me already a hint and I must have a look. I also found way more posts about Panda theme in this forum then when I last checked. So, I should have done this first before starting a new thread. Anyway, hopefully we can exchange experiences and tips.
-
I run bleeding edge TB but the option " Enable webp images " is missing in backoffice images. What is the reason and how can I activate it?
-
As Datakick said it is also part of PS16 installation. I had the bad habit in the past when I could not solve caching issues on my onlineshop that I could not understand, then I deleted the folder /cache/smarty/cache via FTP since that was way faster then deleting the content in that folder. The result was my shop rendered unusable. As I learned hard then and we know now this folder has to exist. Perhaps the function to check its existence should also be present in /backoffice/performance. I shop owner plays around here and de/activates any cache settings TB should make sure the folder exists. You never know 🙂
-
When I hear that joke I always have to think about another nice aspect of life. Anyways, Movieseals, I thank you for sharing your experiences and I want to ask you if you could also find the time to write or to "youtube" a tutorial on how to set up the fullpage cache. I followed the hints in this forum not to activate it. But I wonder if I could cache certain parts of our online shop that are not dynamic and where I can be sure not to run into any problems where old information is shown (cached) where it should never.
-
Hello I am a long time user of Iquit's Warehouse template for Prestashop. Since I am with Thirtybees for about 2 or 3 years I am looking for an actively supported and compatible theme. I am opting for the Panda theme at the moment despite I think that the Thirtybees community theme Niara is nice too. I want to ask here if you have got some advice for me how to set up Panda theme in general or explicitly if want to migrate from Warehouse theme. Very important for me is the possibility to change and adopt the homepage / landingpage of the shop via nice visual aid. As far as I know Panda template comes without such a visual content editor and I am looking therefore for nice alternatives that run smoothly with Panda theme! I heavily customized this theme over the years and I also want to underline that I started with Prestashop 8 years ago. I always upgraded and am sure that there is lot of 'debris' in my DB relating to those old versions. So, I believe it might also be a good idea to start from scratch. But here I surely need all the 'old' data of our business. Customer, invoice, opt in opt out newsletter settings in db etc. You know it... 🙂 Only module that says it can help here to migrate data is the cool one of Musicmaster aka https://www.prestools.com/info/copy-shopdata Can you share some experiences and tips for me?
-
Hello I want to add some content about general product information. Like for example eco sustainability criteria: hand work, resources/material etc. At first hand I think that this information is best placed in a FAQ section of the shop. At least this is what I had done 10 years ago... I wonder if this is still the modern way to do since I want best SEO effect of it. Second comes user-friendly information. I am aware that this goes hand in hand but I noticed that some shops display this information differently. So, do you have got any tips for me?
-
Your are absoultely right. Old problem but you have to know it. When I know about it than I can most often help myself. For exampe when dealing with csv I skip Pentaho Spoon and use "awk". But as said here it is very much misleading when you set the shop to a local. Moreover, when you can use your local decimal seperator at every other input field (as far as I know of) and if it looks like this:
-
Thank you Occam. I realized that my problem is related to this $footer. But I have no clue about smarty and php and hoped that there would be a solution. I will have a look at your linked pdf templates.
-
I noticed today that it is a must to enter total with American/English "." as seperator for decimals. I run our shop in my local German and we use "," for small sums like delivery charge. This in my case is 2,90€ but when I enter this in "partial refund" for generating an order slip things go wrong! It totals -2.00 though it should be -2.90€. If I enter the delivery charge with a dot: 2.90€ all is fine. This was not easy to understand for me since all numbers shown in backoffice use visually the comma as seperator. I think this should be adressed. Happy New Year to all happy ThirtyBees!
-
I fail to display the total paid tax in invoice.tax-tab.tpl . code pasted from invoice.total-tab.tpl : {if $footer.total_taxes > 0} <tr> <td class="small"> {l s='Total Tax' pdf='true'} </td> <td></td> <td></td> <td class="right small"> {displayPrice currency=$order->id_currency price=$footer.total_taxes} </td> </tr> {/if}
-
Can you please hint me where to look? I had a look at thirtybeesinstallationdir/log/ and Hetzners root dir where the logs of my domains are saved. I could not notice something triggering the error message that often.
-
I upgraded to bleeding edge 1.1.1 yesterday and noticed that we receive log warnings via email minutely! Error level is set to 2
-
Question about Advanced Stock Management System
Pedalman replied to Nordicworming's question in Technical help
And it helps me (better helped since I abandoned ASM years ago due to constanst trouble with it) to controll stock update orders I do. I seldomly receive the amount of articles I ordered to sell and I can remember that ASM gave me here some more controll. May be I only thought so OO -
I added today two collumns to oder overview I need and like to see in the overview: 1.) invoice no. 2.) date of order status update These were more than easy to add since Thirtybees uses a bootstrap admin template and columns fit more or less when you add some. You will find the additions in the added code snippet. However, I need a third collumn and this is the most important one for me 3.) If order status history contains payment option "pay via invoice" & not order status ID "payed" then show date of delivery (order status date of deliverstatus ID) and add e.g. 14 days to it and color it red. Else do not show or string 'OK' in green 🙂 You dig it. I use a 'private' payment option that allow customers to buy via inhouse invoice. After 14 days they should have paid the order. Thing is I very much often forget those orders and have problems to controll them. Ok, well, I have an extra order status for them saying "waiting for payment of invoice" but I also forget some time to set this one. So, this collumn could be handy to me since I would see at a glance which orders were checked out via "my inhouse invoice payment" and where I have not set the status "payment received". PS: Best, or an enhancement would be to to add function to invoice payment module to set a certain status automatically (could check via cron). Actually, my pretty old invoice payment options claims to have this functions but it never worked 😞 Advantage of this approach is that I can bundle order status with reminder email for customer. /override/controllers/admin/AdminOrdersController.php <?php class AdminOrdersController extends AdminOrdersControllerCore { // @codingStandardsIgnoreStart /** @var string $toolbar_title */ public $toolbar_title; /** @var array $statuses_array */ protected $statuses_array = []; // @codingStandardsIgnoreEnd /** * AdminOrdersControllerCore constructor. * * @since 1.0.0 */ public function __construct() { /*echo "__construct() OVERRIDE BORIS WORKING"; */ $this->bootstrap = true; $this->table = 'order'; $this->className = 'Order'; $this->lang = false; $this->addRowAction('view'); $this->explicitSelect = true; $this->allow_export = true; $this->deleted = false; $this->context = Context::getContext(); $this->_select = ' a.id_currency, a.id_order AS id_pdf, /* Boris add invoice and update date 2019.12*/ a.invoice_number, a.date_upd, /* //Boris add invoice and update date 2019.12*/ CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`, osl.`name` AS `osname`, os.`color`, IF((SELECT so.id_order FROM `'._DB_PREFIX_.'orders` so WHERE so.id_customer = a.id_customer AND so.id_order < a.id_order LIMIT 1) > 0, 0, 1) as new, country_lang.name as cname, IF(a.valid, 1, 0) badge_success'; $this->_join = ' LEFT JOIN `'._DB_PREFIX_.'customer` c ON (c.`id_customer` = a.`id_customer`) LEFT JOIN `'._DB_PREFIX_.'address` address ON address.id_address = a.id_address_delivery LEFT JOIN `'._DB_PREFIX_.'country` country ON address.id_country = country.id_country LEFT JOIN `'._DB_PREFIX_.'country_lang` country_lang ON (country.`id_country` = country_lang.`id_country` AND country_lang.`id_lang` = '.(int) $this->context->language->id.') LEFT JOIN `'._DB_PREFIX_.'order_state` os ON (os.`id_order_state` = a.`current_state`) LEFT JOIN `'._DB_PREFIX_.'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = '.(int) $this->context->language->id.')'; $this->_orderBy = 'id_order'; $this->_orderWay = 'DESC'; $this->_use_found_rows = true; $statuses = OrderState::getOrderStates((int) $this->context->language->id); foreach ($statuses as $status) { $this->statuses_array[$status['id_order_state']] = $status['name']; } $this->fields_list = [ 'id_order' => [ 'title' => $this->l('ID'), 'align' => 'text-center', 'class' => 'fixed-width-xs', ], 'reference' => [ 'title' => $this->l('Reference'), ], 'new' => [ 'title' => $this->l('New client'), 'align' => 'text-center', 'type' => 'bool', 'tmpTableFilter' => true, 'orderby' => false, 'callback' => 'printNewCustomer', ], 'customer' => [ 'title' => $this->l('Customer'), 'havingFilter' => true, ], ]; if (Configuration::get('PS_B2B_ENABLE')) { $this->fields_list = array_merge( $this->fields_list, [ 'company' => [ 'title' => $this->l('Company'), 'filter_key' => 'c!company', ], ] ); } $this->fields_list = array_merge( $this->fields_list, [ 'total_paid_tax_incl' => [ 'title' => $this->l('Total'), 'align' => 'text-right', 'type' => 'price', 'currency' => true, 'callback' => 'setOrderCurrency', 'badge_success' => true, ], 'payment' => [ 'title' => $this->l('Payment'), ], 'osname' => [ 'title' => $this->l('Status'), 'type' => 'select', 'color' => 'color', 'list' => $this->statuses_array, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int', 'order_key' => 'osname', ], 'date_add' => [ 'title' => $this->l('Date'), 'align' => 'text-right', 'type' => 'datetime', 'filter_key' => 'a!date_add', ], /*BORIS 2019.12 'invoice_date' => [ 'title' => $this->l('Invoice Date'), 'align' => 'text-right', 'type' => 'datetime', 'filter_key' => 'a!invoice_date' ],*/ 'invoice_number' => [ 'title' => $this->l('Invoice No'), 'align' => 'text-right', 'type' => 'int', 'filter_key' => 'a!invoice_number' ], 'date_upd' => [ 'title' => $this->l('Update OS'), 'align' => 'text-right', 'type' => 'datetime', 'filter_key' => 'a!date_upd' ], /* //BORIS 2019.12*/ 'id_pdf' => [ 'title' => $this->l('PDF'), 'align' => 'text-center', 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false, 'remove_onclick' => true, ], ] ); if (Country::isCurrentlyUsed('country', true)) { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS( ' SELECT DISTINCT c.id_country, cl.`name` FROM `'._DB_PREFIX_.'orders` o '.Shop::addSqlAssociation('orders', 'o').' INNER JOIN `'._DB_PREFIX_.'address` a ON a.id_address = o.id_address_delivery INNER JOIN `'._DB_PREFIX_.'country` c ON a.id_country = c.id_country INNER JOIN `'._DB_PREFIX_.'country_lang` cl ON (c.`id_country` = cl.`id_country` AND cl.`id_lang` = '.(int) $this->context->language->id.') ORDER BY cl.name ASC' ); $countryArray = []; foreach ($result as $row) { $countryArray[$row['id_country']] = $row['name']; } $part1 = array_slice($this->fields_list, 0, 3); $part2 = array_slice($this->fields_list, 3); $part1['cname'] = [ 'title' => $this->l('Delivery'), 'type' => 'select', 'list' => $countryArray, 'filter_key' => 'country!id_country', 'filter_type' => 'int', 'order_key' => 'cname', ]; $this->fields_list = array_merge($part1, $part2); } $this->shopLinkType = 'shop'; $this->shopShareDatas = Shop::SHARE_ORDER; if (Tools::isSubmit('id_order')) { // Save context (in order to apply cart rule) $order = new Order((int) Tools::getValue('id_order')); $this->context->cart = new Cart($order->id_cart); $this->context->customer = new Customer($order->id_customer); } $this->bulk_actions = [ 'updateOrderStatus' => ['text' => $this->l('Change Order Status'), 'icon' => 'icon-refresh'], ]; parent::__construct(); } }
-
I would give it another try since I see it as Rampage suggested. I had his problem often in the last 8 years and always it was related to caching problems. (These are not only the settings you set in your BO but also those used by your ' host'. In my case I I had issues some times in the past with php additions like APC and OPcache. Also with activated mod_pagespeed I had issues. But all this is not my domain but if you know those terms and know where to de-/activate them you could give it a try.) Make also sure that in your performance settings cache (APC etc.) and full page caching (both more at the bottom part of performance settings) are disabled for testing your problem. I had excactly the same problems as said and sometimes a translations appeared correctly literally the next day on front/back.
-
I try to clean up my product descriptiond and meta data from old html tags like span and div. I did export my data via Datakick module and also via csv export from /bo/catalog. I openend the data in my two favorite tools VisualCode and Scalc and did some search and replace routines. Regex does help here immensely but I am all than used to regex. So I wonder if iht would not be nice to have all in one place, namely Thirtybees. Would be great to expand its export capabilities with some cleaning functions. I do not know but assume that the HtmlPurifier does something like this and perhaps it is quickly doable to habe a product/categorie data export feature with splitscreen (left real data/right preview). I think data shold be presented in tables like Scalc does. Anyhow, how do you groom your product data?
-
I am sorry about me complaining too early. My issue was related to my local db set up. The override works fine. As always you have to delete class_index.php in /cache/ to make override work. If it is ok please delete my posts here since they are obsolete. Thanks
-
How to export all info of products in CSV
Pedalman commented on unica e-shop's blog entry in A guid to creat Collapsible FAQ on CMS page
Oh, that is good to hear. I will check my other installations. ! update: I did so and no problems at all on my live server with the override. All I had to to as always with overrides was to delete the class_index.php file in /cache/ ( Absolutely my fault. The problem I faced is realted to the way I set up my local database. I could not get it working with a clone of my live shop. This clone runs local on Xampp. With debug on I could not get the export beining generated due to the errow message shown: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' a.`reference`, NULL AS features, NULL AS tags, supplier.`name` AS supplier_name' at line 3 in file classes/db/Db.php at line 488 With debug off I could generate the csv ! very nice but else than expected it contained only the 'header line' without any articles. These I had checked in product list. )