Jump to content
thirty bees forum

MaxStrax

Members
  • Posts

    46
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by MaxStrax

  1. Hello!

    I'm currently creating and editing the corresponding pages for the CMS, and I realized that after adding extra spaces manually, the system deletes them just after saving the changes. So, I can't add extra blank space.

    I have HTMLPurifier and all its related options disabled, also the corresponding module is not installed/enabled.

    Do you know a working solution?

  2. Hello!

    I'm about to bring my first TB store fully online in just few weeks 🤞, and I have a question that comes to my mind.

    So, as the title says: does TB takes advantage of multi-core cpus from our VPC/VPS? Or it's focus to only work with single core cpus, or at least work only with the main cpu core of a multi-core one? I will use it with HestiaCP control panel.

    By now, I have chosen a single vcpu to try with (TB not yet available to the public, so no clients yet).

     

    Thank you!

  3. Hello,

    I'm customizing the appearance of the 'Continue shopping' and all related buttons:

    • .btn.btn-lg.btn-default
    • .btn.btn-lg.btn-default.btn-full
    .btn.btn-lg.btn-default,
    .btn.btn-lg.btn-default.btn-full {
      border: none;
      background-color: transparent;
    }

    But, I can't find the property that makes still appearing what is shown in the pic below. Some kind of transparent layer with a black/grey gradient around it.

    It's only shown when the user clicks on the button.

    Do you know what propierty this element is?

     

    36546646-2.JPG

    36546646-1.JPG

  4. Hello,

    I have managed to create and implement a floating WhatsApp button in the storefront of your Niara theme. Here's the code:

    HTML

    Add the below code to the footer.tpl file of the theme (/.../themes/niara/footer.tpl)

    Another way to customize the whatsapp url:

    https://web.whatsapp.com/send?l=en&phone=prefix-your-number&text=some-text
    <div id="whatsapp-button" class="whatsapp-button">
      <a href="https://wa.me/prefix-your-number" target="_blank">
        <img src="http(s)://path-to-your-wa-icon.png" alt="WhatsApp">
      </a>
    </div>

    CSS

    Go to the Custom Code section of the admin panel (backstore), and add the below code:

    /* WhatsApp floating button for the storefront */
    .whatsapp-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
    }
    .whatsapp-button a img {
      width: 50px; /* Icon size */
      height: auto;
    }

    JAVASCRIPT (not fully working)

    Go to the Custom Code section of the admin panel (backstore), and add the below code:

    // WhatsApp floating button for the storefront
    
    // Control how it's hidden/shown when scrolling the page.
    window.addEventListener("scroll", function() {
      var whatsappButton = document.getElementById("whatsapp-button");
      
      if (window.scrollY > 200) {
        whatsappButton.style.visibility = "visible";
      } else {
        whatsappButton.style.visibility = "hidden";
      }
    });

    All works perfectly fine, and very simple. But, I have a problem trying to make the JS code working as it should.

    The button hides itself only when I'm under certain categories with subcategories on it (???). When I'm on the home page and under categories without subcategories, the button remains visible.

     

    Can you help me with this?

    64566554r567-3.JPG

    64566554r567-2.JPG

    64566554r567-1.JPG

  5. I have done it with custom JS, and it's working as expected, expected that it also works when there's not a blockcategories element shown, but another one:
     

    // Get field's value dynamically
    var blockcatTitle = document.querySelector(".block .title_block");
    // Change the value of the text field
    blockcatTitle.textContent = "Categorias";

    853958905464-1.JPG

  6. I tried, searching in 'Localization > Translations', but I can't find a matching field for the module.

    I assume it should have some kind of variable configured, so the title field changes accordingly to the name of the category. But, I would like to overwrite with a fixed value.

    I have done it with the block just below: FILTROS (previous: CATEGORY).

    853958905464.JPG

  7. Hello,

    The following code allows the title of categories to be alligned in the center of the page (horizontally):
    /.../themes/niara/css/product_list.css

    h1.product-listing {
      text-align: center;
    }

    But, how to apply this custom CSS for the subcategories (subsequent levels) ONLY? Not for categories (first level).

    Example:

    • HOUSE (default, not centered)
      • Furnitures (centered)
        • Chairs (centered)
        • Tables (centered)

    853958905464.JPG

    1. Check that your niara theme has this code: https://github.com/thirtybees/niara/blob/d469fcb47b589783deebe847b77bc8d1c0a1d242/footer.tpl#L17-L21
    2. if the code is there, check that Community Theme Configuration module is enabled (in all stores contexts, in case of multistore) 
    3. if it's enabled, check that Disable non thirty bees modules settings is not on
    4. check Customer group module Authorized Modules - maybe your Visitor group has this module unchecked
    5. 👉 reinstall module to ensure all hooks are properly attached

    After reinstalling it again, the copyright notice shows as expected now.

    Thank you!

    • Like 1
  8. Buenas a tod@s,

    Es la primera vez que escribo en este apartado en Español, pero allá vamos...

    Después de intentar buscar chats sobre TB, solo pude dar con un hilo sobre Slack. Desafortunadamente, parece que éste ya no se encuentra activo, o el enlace al grupo ya no está disponible.

    Por tal motivo, he pensado en crear un grupo público, al que podrán unirse tanto, nuevos usuarios, como aquellos ya experimentados. De esta manera podremos ayudarnos entre todos de una manera más rápida y versátil.

    Si quieren unirse, aquí les dejo en enlace:

    https://t.me/ThirtybeesEsp

  9. 3 hours ago, datakick said:

    Niara already has copyright section. You can edit content using Community Theme Configuration module

    I already know about that module.

    But, I was asking it because that module does nothing in my case when I configure the corresponding text for the Copyright notice. Nothing is shown anywhere.

    455675675675-3.JPG

    455675675675-2.JPG

    455675675675-1.JPG

  10. 1 hour ago, netamismb said:

    I added the copyright in the module blockcmsinfo.

    Ok, I managed to add it. Cool!

    But, how did you manage to place it in the footer? Just below everthing in the footer? I tried playing with the modules location, but when I try to re-add the hook for it, it just adds it on 'displayHome', which is above of 'displayFooter'.

    934856964.JPG

×
×
  • Create New...