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.

Pedalman

Members
  • Content Count

    283
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Pedalman

  1. Hello I did some testing today an I think there might be a bug or the image settings in backoffice need more explaining. Everybody seriously into selling products online needs high quality images that are at the same time not to big in size... I got some product images from my supplier. I do not know if these are already compressed but judging from size I say no. Original jpg is 514K Lossless compression of the same: 412K Lossy compression (85-90% Qual.) of original: 65K Settings in Thirtybees backoffice for images are: Use PNG only if there is a PNG ๐Ÿ™‚ JPEG Qual: 100 !! PNG Qual: 0 I use this settings since I like to compress files my own with my own software (Riot Image compression tool and FileOptimizer). Then I uploaded images via backoffice and found that the source file, e.g. 3766.jpg, remains untouched as far I can say. Then this one is resized due to image settings in backoffice (theme). My problem is I do not understand why the resulting images 3766-home_default.jpg, 3766-home_default2x.jpg, 3766-large_default.jpg, 3766-large_default2x.jpg are always of the same size? I mean the lossy source variant is 8 times smaller. I can testify that there is small difference for bigger images like 3766-thickbox_default.jpg but not worth to mention. So, either the settings for images compression in backoffice are not working or there is a functionality/process I do not get. At the moment it looks to me that it hardly makes no sense to compress and optimize files before I upload them (also since I use Webp on the frontend but this need better sources else quality gets blurry). Another point I noticed. If you delete product images from backoffice mostly all 2x images and some other remain on the host in the folder structure /img/p/...
  2. Pedalman

    thirty bees 1.1.0 is released!

    I have and found no issues (except entering custom css in Theme Editor of Warehouse goes without 'formatting' but it is no issue at all). All is working great and I am super happy. PS: Nevertheless I will buy Panda since it is superbly supported by Johnny and I like to try new stuff ๐Ÿ™‚ and also the same with Niara and a nice page builder I am still looking for.
  3. Pedalman

    Customer password when Admin Created

    I am in a hurry but I think the following information might be relevant. It is about the way how passwords are sent via email. Might be that Thirtybees handles this now different than Presta did once but I do not know. I use this Module form Saxtec : "https://www.youtube.com/watch?v=FiDsiwDQzLM https://addons.prestashop.com/de/sicherheit-brechtigungen/31295-rechtssicheres-kundenkennwort.html
  4. Pedalman

    thirty bees 1.1.0 is released!

    I want to mention that I shamefully forgot to say thank you! Thank you to everyone who commited her/himself so much to get Thirtybees so far. I am really happy to have come to known of it and to use it. It is a great project!
  5. Each time I enter something into html/css forms unkown html code is added! I have this issues for at least a month and I have no clue where it comes from. This means it is not related to the great Thirtybees V1.1.0 since my shop was already on the branch up to git commits dating to 18th January 2018. For a long time I thought this was a problem with latest changes to TB and Warehouse theme from IQUIT since I noticed it when I entered my custom CSS code into the relating form. Now I noticed to my horror that each time I edited a product, category or ... this code has been added. Since I do most stuff in the module StoreCommander I thought that it is a problem between SC and TB but after I digged the sweeping amount of this code I had already in my 'frontend' data I did a test. I created a new product in Thirtybees BO and went to the form description. It was empty as expected but then I hit the 'css code' button in tinymce? and saw the code already there?! I googled it and found that Wordpress users had the same problem and found this snipped already two years ago ๐Ÿ˜ž <p></p> <div id="ir-ext-ui" style="color: #000000; font-size: 16px; line-height: 16px; background-color: #f7f7f7; border: 1px solid #999999; border-radius: 1px; bottom: 1px; left: 1px;"> <div class="ir-ext-dimensions"><span class="ir-ext-rendered" title="Rendered image dimensions (after any scaling/resizing has been applied)"> <span data-ir-ext-width=""></span>x<span data-ir-ext-height=""></span> </span> <span class="ir-ext-natural" title="Natural image dimensions (without applying any scaling/resizing)"> (<span data-ir-ext-width=""></span>x<span data-ir-ext-height=""></span>) </span></div> <div class="ir-ext-filesize"><span data-ir-ext-value=""></span> <span data-ir-ext-unit=""></span></div> </div> How can I get rid of that and be sure my shop isn't starting to grow an autonomouse life?
  6. Pedalman

    [solved] unknown "wordpress" code in all HTML forms

    I could slap myself. If I knew how to delete my post above I'd do. Sorry ๐Ÿ˜ž I did a bit more googling and really found the culprit. A Firefox extension ๐Ÿ˜ž WTF https://addons.mozilla.org/en-US/firefox/addon/image-info-1/reviews/ If that is installed you get this coded added each time into your forms and there fore UX and SEO hampered.
  7. Pedalman

    DB charset not updated?

    Hello If I remember a year or so ago Prestashop and Thirtybees had some problems with passwords. Part of the solution was to move a table or all to utf8mb4. Anyhow should my DB's charset be 'upgraded?: Today I wanted to have a closer look at the superb Thirtybees module PRESTOOLS and I got the warning: Char set is 'utf8' instead of 'utf8mb4'.Collation is 'utf8_general_ci' instead of 'utf8mb4_unicode_ci'.
  8. At least I know that in Warehouse you only have the option of either top or bottom. Here, Waka, adds a module that allows both ! Advantage? Better UX and SEO perhaps. You start with small cat descrpt. at top and continue at bottom without "JS more..." button. That it I think it is about.
  9. Pedalman

    custom css code escapes

    .
  10. Pedalman

    thirty bees 1.1.0 is released!

    I am having issue with latest V3.40 Mollie payment module. They changed stepped from 3.35 to 3.4 and the new version can no more send order confirmation to Thirtybees 1.1. I just reinstalled V3.35 and orders are coming in. No orders/transfers are being booked in TB anymore. Very annoying since over the weekend some dozend oders have been booked on Mollies side but not in our orders section ๐Ÿ˜ž Since Mollie still supports PS1.6 their might be a conflict between Mollie V3.4 and TB1.1. It would be very great and helpful if someone could look into this since I supect that the Mollie support won't be interested to do so. PS: There seems to a new person in charge for the repo on GIT now.
  11. Pedalman

    Official Mollie Module

    I am having issue now since I updated to TB 1.1. latest with Mollie. No orders/transfers are being booked in TB anymore. Very annoying since over the weekend some dozend oders have been booked on Mollies side but not in our orders section ๐Ÿ˜ž Moreover, I updaed with TB Mollie too. From 3.35 to V3.4. So what triggers the problem I do not know. Very annoying ๐Ÿ˜•
  12. I think that the damn cool core updater module has a problem with a local install of Thirtybees under XAMPP Windows. Downloads calculated, 7632 files to download. (0.1 s) ERROR: Failed to download files with error: fatal: path not found: \admin1/ajax-tab.php
  13. Pedalman

    Help me develop killer One Page Checkout module

    Great Petr that you still find the time to support our needs and your fine modules and the rapid development and polishing of Thirtybees.
  14. Pedalman

    thirty bees 1.1.0 Preview

    When I install the pre1.1 and I want to have the latest fixes on GIT... I thought I could use the CoreUpdater module set to bleeding edge. This seems not to be the case. Why?
  15. Hello I do not know whether there is a difference between PS1.6 and TB's image controller but my BELVG Sticker PRO module fails to create my "sticker badges" on product thumb. Here is code of two admin controller overrides it needs: AdminImportController.php <?php class AdminImportController extends AdminImportControllerCore { public function __construct() { parent::__construct(); if (Tools::getValue('entity') == $this->entities[$this->l('Products')]) { $this->available_fields['belvg_stickerspro'] = array('label' => $this->l('Belvg StickersPro')); } } public function productImport() { parent::productImport(); $this->receiveTab(); $handle = $this->openCsvFile(); for ($current_line = 0; $line = fgetcsv($handle, MAX_LINE_SIZE, $this->separator); $current_line++) { if (Tools::getValue('convert')) { $line = $this->utf8EncodeArray($line); } $info = AdminImportController::getMaskedRow($line); if (Tools::getValue('forceIDs') && isset($info['id']) && (int)$info['id']) { $product = new Product((int)$info['id']); } elseif (Tools::getValue('match_ref') && array_key_exists('reference', $info)) { $datas = Db::getInstance()->getRow(' SELECT p.`id_product` FROM `'._DB_PREFIX_.'product` p '.Shop::addSqlAssociation('product', 'p').' WHERE p.`reference` = "'.pSQL($info['reference']).'" '); if (isset($datas['id_product']) && $datas['id_product']) { $product = new Product((int)$datas['id_product']); } else { $product = new Product(); } } elseif (array_key_exists('id', $info) && (int)$info['id'] && Product::existsInDatabase((int)$info['id'], 'product')) { $product = new Product((int)$info['id']); } else { //$product = new Product(); continue; } //Belvg StickersPro logic $belvg_stickerspro_module = Module::getInstanceByName('belvg_stickerspro'); if (is_object($belvg_stickerspro_module) && $belvg_stickerspro_module->id) { $stickers = explode($this->multiple_value_separator, $info['belvg_stickerspro']); if (count($stickers)) { $ids_stickers = array(); foreach ($stickers as $sticker) { if ($sticker) { $ids_stickers[$sticker] = 1; } } if (count($ids_stickers)) { $sticker_flag = TRUE; $sticker_flag &= BelvgStickersProProduct::deleteDataForProduct((int)$product->id, $ids_stickers, Context::getContext()->shop->id); $sticker_flag &= BelvgStickersProProduct::setDataForProduct((int)$product->id, $ids_stickers, Context::getContext()->shop->id); if ($sticker_flag) { $sticker_flag &= $belvg_stickerspro_module->applyStickersToImage($product->id, $ids_stickers); if ($sticker_flag) { $sticker_flag &= BelvgStickersProIndexer::deleteItemsByProductId((int)$product->id); } } } } } } $this->closeCsvFile($handle); } } AdminImagesController.php class AdminImagesController extends AdminImagesControllerCore { /** * AdminImagesController::__construct() * * @return void */ public function __construct() { require_once (_PS_MODULE_DIR_ . 'belvg_stickerspro/classes/Belvg_StickersPro.php'); parent::__construct(); $this->fields_list['stickers'] = array( 'title' => $this->l('Stickers'), 'width' => 50, 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => FALSE); //Belvg StickersPro $this->_select .= 'belvg_sit.stickers'; $this->_join .= ('LEFT JOIN `' . _DB_PREFIX_ . 'belvg_stickerspro_image_type` belvg_sit ON (a.`id_image_type` = belvg_sit.`id_image_type`)'); $this->fields_form['input'][] = array( 'type' => 'switch', 'label' => $this->l('Stickers'), 'name' => 'stickers', 'required' => FALSE, 'class' => 't', 'is_bool' => TRUE, 'hint' => $this->l('This type will be used for stickers feature.'), 'values' => array( array( 'id' => 'stickers_on', 'value' => 1, 'label' => $this->l('Enabled')), array( 'id' => 'stickers_off', 'value' => 0, 'label' => $this->l('Disabled')), )); //Belvg StickersPro } /** * AdminImagesController::renderForm() * * @return */ public function renderForm() { if (is_object($this->object)) { $stickerspro_values = BelvgStickersProModel::getImageTypesData($this->object-> id); if (!empty($stickerspro_values)) { $this->fields_value['stickers'] = $stickerspro_values['stickers']; //$this->fields_value['sticker_height'] = $stickerspro_values['sticker_height']; //$this->fields_value['sticker_width'] = $stickerspro_values['sticker_width']; } } return parent::renderForm(); } /** * AdminImagesController::postProcess() * * @return */ public function postProcess() { $return = parent::postProcess(); //$id_image_type = Tools::getValue('id_image_type'); $stickers = Tools::getValue('stickers'); $products = Tools::getValue('products'); if (empty($this->errors)) { $is_add = Tools::getValue('submitAddimage_type'); if ($is_add) { //$is_exists = BelvgStickersProModel::checkExistsByImageTypeId($id_image_type); //if (!$is_exists) { $object = $this->loadObject(); if (!$products) { $stickers = 0; } BelvgStickersProModel::addTypeByImageTypeId($object->id, $stickers['stickers']); //} } } return $return; } /** * AdminImagesController::processDelete() * * @return bool */ public function processDelete() { $return = parent::processDelete(); $id_image_type = Tools::getValue('id_image_type'); BelvgStickersProModel::deleteTypeByImageTypeId($id_image_type); return $return; } public function renderList() { $html = parent::renderList(); $this->context->smarty->assign(array( 'belvg_stickerspro_submit' => $this->context->link->getAdminLink('AdminStickersPro'), 'belvg_stickerspro_list' => BelvgStickersProIndexer::getItems(0, 0), 'belvg_stickerspro_last_records' => BelvgStickersProIndexer::getItems(0, 5), )); $html .= $this->context->smarty->fetch(_PS_MODULE_DIR_ . '/belvg_stickerspro/views/templates/admin/indexer.tpl'); return $html; } } Can someone see on the run if there is a conflict or might provide a solution?
  16. Pedalman

    incompatibility with BELVG Sticker module

    Hello I could get it working again after totally deleting module's folder and also! /img/belvg_stickerspro. Eventually I could install it as new module and stickers appeared again. I want to add that resetting and normal deinstall did not work. So, all is fine at the moment. Thank you
  17. Warehouse theme comes with iquitcontenteditor module for custom builds of start page. It allows to enter html boxes and also custom hooks as content. I would like to add Datakick's Revw in a caertain way. I want to show a customer review of a certain product (or a selection of them in slider form^^): {hook h='displayRevwsReview' review=2} I fail to make it work with Warehouse. Can someone help out pls?
  18. Hello I'd like to show tax and shipment info relating to Advanced EU compliance (module) in one row under price. More or less clean like in the screenshot. The code is hooked into product.tpl and is in modules/advancedeucompliance/views/templates/hook/hookDisplayProductPriceBlock.tpl I can get the first info (tax info) into a new line under price easily via </br> at the top of code but I fail today to get the infos into one line under Price ๐Ÿ™‚ {if isset($smartyVars)} {* "From" Price Hook templating *} {if isset($smartyVars.before_price) && isset($smartyVars.before_price.from_str_i18n)} <span class="aeuc_from_label"> {$smartyVars.before_price.from_str_i18n|escape:'htmlall'} </span> {/if} {* "Before" Price Hook templating *} {if isset($smartyVars.old_price) && isset($smartyVars.old_price.before_str_i18n)} <span class="aeuc_before_label"> {$smartyVars.old_price.before_str_i18n|escape:'htmlall'} </span> {/if} {* "Tax Inc/Exc" Price Hook templating *} {if isset($smartyVars.price) && isset($smartyVars.price.tax_str_i18n)} <span class={if isset($smartyVars.price.css_class)} "{$smartyVars.price.css_class|escape:'htmlall'}" {else} "aeuc_tax_label" {/if}> {$smartyVars.price.tax_str_i18n|escape:'htmlall'} </span> {/if} {* "Shipping CMS content" Price Hook templating *} {if isset($smartyVars.ship) && isset($smartyVars.ship.link_ship_pay) && isset($smartyVars.ship.ship_str_i18n)} <div class="aeuc_shipping_label"> {*es war ITO 23.10.18 <a href="{$smartyVars.ship.link_ship_pay}" class="iframe" } *} <a href="{$smartyVars.ship.link_ship_pay}" class="iframe" rel="nofollow"> {$smartyVars.ship.ship_str_i18n|escape:'htmlall'} </a> </div> {/if} {* "Weight" Price Hook templating *} {if isset($smartyVars.weight) && isset($smartyVars.weight.rounded_weight_str_i18n)} <div class="aeuc_weight_label"> {$smartyVars.weight.rounded_weight_str_i18n|escape:'htmlall'} </div> {/if} {* "Delivery Estimation" Price Hook templating *} {if isset($smartyVars.after_price) && isset($smartyVars.after_price.delivery_str_i18n)} <div class="aeuc_delivery_label"> {$smartyVars.after_price.delivery_str_i18n|escape:'htmlall'} </div> {/if} {/if}
  19. Sorry, I asked too early and could solve it for now. If it is correct so or the best way I do not know but seems to work for now. I switched the two info parts that were embraced into divs to spans and put the whole block into one div. Html learning course 1st. class 1. hour <div class="tax_infos_aeuc"> {* "Tax Inc/Exc" Price Hook templating *} {if isset($smartyVars.price) && isset($smartyVars.price.tax_str_i18n)} <span class={if isset($smartyVars.price.css_class)} "{$smartyVars.price.css_class|escape:'htmlall'}" {else} "aeuc_tax_label" {/if}> {$smartyVars.price.tax_str_i18n|escape:'htmlall'} </span> {/if} {* "Shipping CMS content" Price Hook templating *} {if isset($smartyVars.ship) && isset($smartyVars.ship.link_ship_pay) && isset($smartyVars.ship.ship_str_i18n)} <span class="aeuc_shipping_label"> {*es war ITO 23.10.18 <a href="{$smartyVars.ship.link_ship_pay}" class="iframe" } *} <a href="{$smartyVars.ship.link_ship_pay}" class="iframe" rel="nofollow"> {$smartyVars.ship.ship_str_i18n|escape:'htmlall'} </a> </span> {/if} </div>
  20. Hello I got a question concerning combinations or variants of a product. Let's assume I got a new product in colors red and blue. First I have to create a new product let's call it T-shirt since it is a new product TB and PrestaShop asked me to enter name, the reference code of my shop for articles and EAN -13 number. My shop sales already 99 products so the new product will be number 100 in the internal database. So I enter reference code 100. Here comes the question EAN -13 is specific for the variant blue or red. So I can skip it here and I have to enter these numbers under the tab of combinations. Is this this the correct way or do I have to proceed in another way like: the new product is also the first variant and I only add for example the red one. My exported and shortened Google feed via module GoogleFlux: <item> <g:id>100-97</g:id> <title><![CDATA[t-shirt]]></title> <description><![CDATA[ "desc]]></description> <g:gtin>1234</g:gtin> <g:brand><![CDATA[brand]]></g:brand> <g:mpn><![CDATA[9997]]></g:mpn> <g:age_group><![CDATA[kids]]></g:age_group> <g:item_group_id>100</g:item_group_id> <g:color><![CDATA[blau]]></g:color> <g:shipping> <g:country>DE</g:country> <g:service>Standard</g:service> <g:price>2.9 EUR</g:price> </g:shipping> <g:shipping_weight>0.10 kg</g:shipping_weight> </item> <item> <g:id>100-98</g:id> <title><![CDATA[t-shirt]]></title> <description><![CDATA[desc]]></description> <g:gtin>0739303852701</g:gtin> <g:brand><![CDATA[brand]]></g:brand> <g:mpn><![CDATA[9998]]></g:mpn> <g:age_group><![CDATA[kids]]></g:age_group> <g:item_group_id>100</g:item_group_id> <g:color><![CDATA[rot]]></g:color> <g:shipping> <g:country>DE</g:country> <g:service>Standard</g:service> <g:price>2.9 EUR</g:price> </g:shipping> <g:shipping_weight>0.10 kg</g:shipping_weight> </item>
  21. Pedalman

    Best import module

    SC is its money more than worth! You can trust me. But TB is officially not supported. This morning I was in contact with there support. Which is great btw too. But first question. "Mr. Boris are still running TB?" .... This question is related to the way how SC handles image import. You can greatly utilize SC for this, too. But I still do not know if it makes use of PS/TB imagecontroller or uses its own, which it has. Question is if you are forced to use SC's controller or if you an set it off an bipass it so you can use modules like Wepb and Kraken.io or ImageMagick. Else, I can tell you: Buy the module. It is its money really worth. Boris
  22. Pedalman

    Help me develop killer One Page Checkout module

    Ouch, is this confirmative? I am still with Mollie since it just works most of the time. I can not say about other payment integration solutions I had with PS/TB the last 10years. And I am not aware of an alternative as European at the moment so it would be nice if Datakick OnePageCheckout would work nicely with Mollie. Perhaps it does and configuration is wrong or need some tuning? PS: Is there a demo version of OPC I could install on my testserver?
  23. Hallo ich habe im Forum wie im Netz gesucht, aber nicht herausbekommen, ob TB 1.08 mit PHP 7.3 kompatibel ist. Wer weiรŸ was? Markus?
  24. Pedalman

    php 7.3 kompatible?

    Danke fรผr die Auskunft. Ich habe mir gerade den aktuellen dev git angeschaut, nach lรคngerer Pause, und es sieht fast so aus, als ob Ihr ein ganz neues Shopsystem baut, welches auf TB (PS) basiert. Bin sehr sehr sehr gespannt und werde mir nun auch mal Niara (Theme) ansehen, da es ja das neue Standardtheme werden wird. Herzlichen Dank und kรผhle Tage beim Programmieren
  25. Pedalman

    Best import module

    Easy to use for all I need to do in TB is: " StoreCommander " They do not explictitly support TB at the moment but I use it since half a decade and with TB since 2 years and never had an issue. Support is fast. You find on their webpage a documentation about CSV im/export. You can buy software for a year and do not have to extend subscription. It is pretty solid and does not need constant upadates. Storecommander next to Datakick and Prestatools should speed up article maintanance enourmously.
ร—