Jump to content
thirty bees forum

Acer

Members
  • Posts

    345
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Acer

  1. On 6/6/2023 at 8:07 PM, Obi said:

    The title pretty much states my question, but for the sake of clarity. . .

    Has the Image Hover feature that is/was available in Prestashop 1.6.x ever get "ported" over to Thirty Bees?

    The last time I did a migration attempt, this feature was missing in TB1.3.

    I began using the image hover capability for product display in my Prestashop 1.6 store for two different purposes and have been waiting for Thirty Bees to implement this feature before attempting another migration. My catalog has around 17,000 product records, most of which use custom "product templates" displayed in the "pa_content" container to give the products in any given range/group/category a more immersive and distinctly identifiable presentation. This was accomplished primarily thanks to Panda Theme v1.2.

    Previous migration efforts proved to be a touch more complex than anticipated, and while a migration was ultimately successful, it was not stable. The Panda theme used (1.4 IIRC) did not work as it should with the most difficult to correct being the image display along with a few other elements did not work reliably (their change of the style class names between versions made the old css unusable which required a rewrite of 2000 lines of css code) but even then, the unstable display of images (sometimes would display correct, sometimes not) ultimately forced me to abandon that migration. I've since decided I am willing to revisit this issue without using Panda going forward, and may be willing to discard some of the highly customized and unique overall presentation of the current site if necessary, but I refuse to give up what I consider to be basic features that afford better user, customer service/interaction, and administration functionality to my site because of "upgrades". (I also use a few modules that I have since ported to run under TB.)

    To illustrate the unique nature of the site and why this is such a difficult move for me (because I am losing so much in the visual sphere): (home page)

    image.thumb.png.712d2ff0d06d7ccd6895272812c4e2b9.png

    Product Listing Page (pre-hover):

    image.thumb.png.2ec8cf4cddc52f493c9cc05f83efe442.png

    Product Listing Page (post hover):

    image.thumb.png.5e0f49aa960c6d6c0eb8e51468f18cf5.png

    Product Page (above fold):

    image.thumb.png.a97176c83e7278251540cc637542da80.png

     

    image.thumb.png.2abf59db35e4119670384f19ffb79fd0.png

    Product Page (below fold):

    image.thumb.png.34b8269620456c80d23b81c5693c07c4.png

     

    image.thumb.png.c6cdcdb46031447d5709999cfb71e15c.png

    Photo to illustrate the UI of the backoffice implementation of the hover feature:

    image.png.7add27e37204ae412827994fa44a934b.png

    Hi

    I use Panda for ThirtyBees and I can confirm that the product hover effect works in ThirtyBees. Whether it's now a default thirtybees feature is another story. However, seeing that you're already using Panda, it will probably not be too much of a mission to migrate your site to ThirtyBees. Also, Panda has been patched several times for ThirtyBees, so grabbing the latest version of Panda, plus applying the patch in the directory is advised. 

  2. On 7/10/2022 at 7:29 AM, Havouza said:

    I looked into that long ago but decided against it. What we need is really only a good module to upload new pricelists. I have found what seems a very good one that can do much more from Myprestamodules. I have very good experience of the developer, we have more modules from him, and he also test them against tb. So it will be that one.

    Thanks anyway.

    Hi
    So did you try the module from Myprestamodules? And how is it for you?

  3. Hi

    I'm looking for an excellent Product Import module, that does the following

    • Import from either CSV/XML, Upload, Google Sheets or XML/CSV live URL from Warehouse/Supplier
    • Imports full product attributes, like: Combinations, Features, Manufacturer, Shipping weight/dimensions, everything
    • Hopefully imports all the above in one import, without having to feed different CSV files for attributes, etc
    • Cronjob compatible
    • Is reliable, proven and stable
    • Can be PS 1.6 but TB compatible module
    • Is not StoreManager (too expensive)
    • Is not DataKick Import (sadly no CSV support 😞 )
    • Has a reasonable price

    I've been looking but haven't found anything suitable so far. If you guys have any suggestions, that'd be seriously helpful. 

    Thanks

  4. On 10/5/2022 at 12:22 PM, coconutswan said:

    Hello everyone! I'm new to the group, but I'm very enthusiastic about this endeavor. I own a web hosting firm and would want to contribute monetarily and ultimately with development time to this project. Who is presently receiving contributions, and what are they used for? There seems to be a schism between this site and github.

     

     

    five nights at freddy's

    Hi and welcome to ThirtyBees! 

    You can reach out to @Smile

  5. 16 minutes ago, datakick said:

    e do have such mechanism -- error handler collects 500 errors and saves them inside /log/ directory. 

    What I'm suggesting is the mechanism should maybe monitor the 500 errors / log files and fix automatically instead of having to scan the whole module directory. 

    All this is in the context of these errors being fixed automatically. 

  6. Though I agree it's caused by PHP 8, this is actually a TB 1.4 problem and they appear know it. Or at least they're aware of the seriousness of this in terms of module support. To the point of @datakickmentioning that they're working on a mechanism to 'fix' it on 3rd party modules automatically. Even though that task would be complex and hard.

    The point is that there are very few module developers and theme developers still supporting TB and that number is dropping daily. If this was Presta, with devs supporting it, then different story, sure. 

    But with hardly any 3rd party module devs willing to support TB, stuff like this could lead to a demise of TB or at best push it into even more of a niche system, that becomes less and less attractive for new users to adopt and existing users to keep it around. Leading inevitably, and unfortunately, to its eventual end 😞

  7. Hi there 

    I've seen with a Google shopping feed export (using gflux) , the shop description is "powered by ThirtyBees". 

    Where do I change the shop description in TB? Although I know where to change the shop name, address etc. I haven't found where to change the description... 

  8. TB 1.4 breaks modules that play with that class causing them to error out.
    I've had 2 modules break already. If people just update to 1.4, they could encounter problems.

    Also, right now I'm running 1.4 (for the benefit of running latest + security patches) on PHP 7.2, but will be running on PHP 7.4 when the site goes Live.
    Running on PHP 7.4 isn't the issue, TB 1.4 is... well technically PHP 8 is the issue, but I'm sure you get what I'm saying 😉

    Maybe TB 1.4 can have a flag to support Attribute instead of ProductAttribute - for those who want to run 1.4 but aren't running PHP 8.0 currently?
    Perhaps this could help in the meantime while a potentially better solution is being worked on?

     

  9. Hi @datakick

    Thought I'd let you know: I encountered another 3rd party module with the Attribute / ProductAttribute issue (CSV Import Products by GloBo).
    All was working fine in 1.3 until I tried to do a product attribute update in 1.4 edge with the module and then it threw an error.
    The log file revealed that it was the Attribute/ProductAttribute issue, and the module worked again after I followed your fix instructions.

    The thing is that most people will think that their 1.3 site upgraded to 1.4 is running fine (mine appeared fine). Until they try to use their 3rd party modules to do something fancy, like updating product combinations/attributes.
    I'm not sure what the plan is regarding releasing 1.4, but I know that unless it includes the Mechanism that you mentioned that scans and updates affected 3rd party modules, then people will run into issues with 1.4 sooner or later.

    For those encountering an error with "Attribute Class not found", you can follow DataKick's fix instructions here:

     

  10. 13 hours ago, datakick said:

    class 'Attribute' in global namespace is reserved in php8. In order to make tb php8 ready, we had to rename the class Attribute to ProductAttribute.

    There will be a mechanism that fixes (patches) third party modules automatically, but this mechanism is not yet ready for production -- still lots of bugs. 

    Meanwhile, you have to patch the module code yourself. Replace every reference of Attribute with ProductAttribute.

    In your case, line 85 should look like this:

    $att = new ProductAttribute($attribute['id_attribute']);

    Look for these syntax patterns in the module code:

    new Attribute(...)
    Attribute::someMethod()
    Attribute::$staticProperty

     

    Working now, thank you. I appreciate it 👍

  11. 2 hours ago, datakick said:

    class 'Attribute' in global namespace is reserved in php8. In order to make tb php8 ready, we had to rename the class Attribute to ProductAttribute.

    There will be a mechanism that fixes (patches) third party modules automatically, but this mechanism is not yet ready for production -- still lots of bugs. 

    Meanwhile, you have to patch the module code yourself. Replace every reference of Attribute with ProductAttribute.

    In your case, line 85 should look like this:

    $att = new ProductAttribute($attribute['id_attribute']);

    Look for these syntax patterns in the module code:

    new Attribute(...)
    Attribute::someMethod()
    Attribute::$staticProperty

     

    Awesome, thanks for the explanation and solution. I will implement accordingly. 

    Bytw, I particularly like your idea of the mechanism to fix 3rd party modules automagically. But I can appreciate the complexity and hornet's nest involved in that one. 

    Also just last question for now @datakickWhen I started building this site, PHP 7.2 was kinda still fine with 7.3 recommended, with the dev site running 7.2. Assuming that Panda and other third party modules will still work, which PHP version do you recommend for the live site? Should I go for 7.4?

  12. So I've just purchased this module
    https://addons.prestashop.com/en/sizes-units/24128-product-combination-attribute-dimensions.html#specifications

     

    But I'm getting the following error (Running TB 1.4 on PS 7.2):

    ThirtyBeesException

    Class 'Attribute' not found

    in file modules/combinationdimensions/classes/AttributeDimension.php at line 85

    Source file: modules/combinationdimensions/classes/AttributeDimension.php

    66:
    67:    /**
    68:     * Get saved attributes from DB
    69:     * @return array
    70:     */
    71:    public static function getSavedAttributes()
    72:    {
    73:        return Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'cd_attribute_dimensions');
    74:    }
    75:
    76:    /**
    77:     * Method to modify saved attributes for helper list
    78:     * @return array
    79:     */
    80:    public static function getListAttributes()
    81:    {
    82:        $attributes = AttributeDimension::getSavedAttributes();
    83:
    84:        foreach ($attributes as &$attribute) {
    85:            $att = new Attribute($attribute['id_attribute']);
    86:            $attribute['attribute_value'] = $att->name[Context::getContext()->language->id];
    87:            $attribute['height'] = (float) $attribute['height'];
    88:            $attribute['width'] = (float) $attribute['width'];
    89:            $attribute['depth'] = (float) $attribute['depth'];
    90:        }
    91:
    92:        return $attributes;
    93:    }
    94:
    95:    /**

    Is there something I need to change in the code here, please @datakick ?

  13. Ok found it. The folder name is update1.5.5

    Unzip the installation, then copy the contents of the update folder into the Panda installation folder, then install Panda.

  14. It's a folder within the Panda zip. I think it's called 1.15 or something. Will probably check tomorrow. But you'll recognise it immediately when you see it. Got a bunch of folders in it. 

  15. Another way is to include the Google analytics or tag manager code in the theme directly, which is what I've done.

    Find the header or footer template file for the theme that is being used then paste the code in a literal container tag. Like so

    {literal}

    Google script here

    {/literal}

    You'll need to clear the site cache afterwards ofc. Advanced Perimeters -> Performance - > Clear cache 

  16. From what I recall the Panda patch could've fixed something with the config file and hooks. It was a while back when dk made some changes to the way the themes read that xml or something then Sunny had to patch Panda. The installation folder contains the patch. Unzip the installation and copy the patch into it, then use this new folder for the theme install. 

    Let us know if you came right please. I'm curious to see what the problem was and how it was fixed and if the patch helped. 

    Also if it works on a fresh TB with patched Panda, then you know it's likely something to do with the old site migrate and not the theme. 

  17. More monetary support and more paid support work will help TB grow so we can get more devs.

    Obviously there are things that TB management needs to do to bring in more users / theme devs. But that's another story. Right, Chiel? @Smile

    Right now TB needs our support. Both for their sakes and ours. We like running one of the best opensource eCommerce platforms out there and want it to continue and get better, right? 

     

×
×
  • Create New...