Jump to content
thirty bees forum

Dolfijn

Members
  • Posts

    50
  • Joined

  • Last visited

Information

Recent Profile Visitors

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

Dolfijn's Achievements

  1. Hi, I'm in the process of changing some names of blog posts. But I don't want to loose my link juice. So, how can I add a redirect to the old name / url? Must I put them manually in the .htaccess file? Thanks
  2. I removed the plugin and re-installed it. And now it works great! Thanks for the suggestions!!
  3. Unfortunately, i suddenly have a severe amount of spam. It makes the TB shop more or less useless. I receive several emails per minute. All by using the contact form. So, I tried installing the No CAPTCHA reCAPTCHA module. I can configure the keys and the other settings but when I hit 'save', I get the error message "public_html/override/override/controllers/front) not writable ". What I find suspicious is the double override/override directory structure. It (obviously?) doesn't exist. Also, all settings are persistent except the contact form setting. I discovered that the installer wants to write the file "ContactController.php" to this path (which is not there). If I create the missing directory, the installation error disappears, but the captcha procedure at the contact form is just ignored (but visible and also seems to work, but it just is not necessary - you can skip it while sending an email). But the recaptcha procedure is in working order at other places then the contact form (for example at customer login - also you can't skip it there). I'm running TB version 1.1.x I uploaded the module form this link: https://thirtybees.com/blog/recaptcha-and-spam/ Hope somebody can give me some hints!
  4. Okay, and maybee, I shoulld also migrate to the latest theme anyways 🙂
  5. It is a copy of the default theme that I used in Prestashop 1.6. After my migration to Thirtybees, I'm still using that same theme. Hopes this gives you any clue? If you need more info, please let me know.
  6. Hi there, Last week I had a customer complaining about much higher product pricing during checkout then 'promised' in product view, caused by this problem. So, I decided to give it a try and I think I have solved it :-). Root cause is the construction of the product page which uses a table to display volume discount. In this table, some CSS attributes are used to store the volume discount prices and that values are (only) set on page creation (from the product.tpl code). And these CSS attributes are used to display the price (when in product view). That all works ok, until you add product attributes (combinations) that influence the price. Because, that influence is not reflected back in the mentioned DOM css attributes of the volume discount table. So, the effect is that you always use the price levels of the first product attribute, regardless of the actual attribute chosen by the user. What I did is add a new function (UpdateDOMdiscountPriceTable(newPrice)) that updates the table DOM elements that store the prices with the correct new price levels and call it from UpdateDisplay(). All changes are made in product.js. I attached the file for those interested. Final warning: I'm not an thirthybees expert and also not a seasoned JavaScript programmer. I also only tested it for my shop config (using attributes and volume discount using some percentage). product.js
  7. Ok, I found it. The path for the BeesBlog module is a little different: it uses the format <my-theme>/css/modules/beesblog/views/css/beesblogstyle.css. So, my first attempt was close but not close enough. Thanks for showing the way. public function hookDisplayHeader() { $this->context->controller->addCSS($this->_path.'views/css/beesblogstyle.css', 'all'); }
  8. Thanks for the pointer! I will start digging over the weekend :-)
  9. I tried it: same result 😞 Can it not be that for the beesblog modules this construction of using theme related css is not implemented? Or is it some general construction that should always work? I'm not afraid to take a look at the code, just need a pointer where to start..
  10. Link to the default css file: https://www.gquipment.com/modules/beesblog/views/css/beesblogstyle.css Link to the <my-theme> copy: https://www.gquipment.com/themes/Gquipment-theme/css/modules/beesblog/beesblogstyle.css And what the source actual blog post files uses (in its head section) and where I see that it is still using the default file: <link rel="stylesheet" href="/modules/beesblog/views/css/beesblogstyle.css" type="text/css" media="all" />
  11. I double checked it. I'm sure it is the right domain, right path, all performance optimization or off, cleared cache in BA and also in browser. But it renders the page with the link to the default css location, not the theme based one. I can fix it by putting my css code for the beesblog in the global.css. In this scenario I also made the change in a copy of global.css and have copied it to <my-theme>/css folder. So, why does it work with gobal.css in theme based folder but not when I use the css/beesblog folder? Therefore, I'm also curious how this works in the code. Anybody any idea where I should have a look in the code? Well, probably, I'm just doing something stupid. But, don't know what it is yet 🙂
  12. I tried it but it still uses this link in the page: <link rel="stylesheet" href="/modules/beesblog/views/css/beesblogstyle.css" type="text/css" media="all" /> and ignores the file under "my-theme/css/modules/beesblog" (after clearing all caches) Its puzzling me.
  13. Hi, I have a problem I don't understand. Tried to introduce my own css style code in the file "beesblogstyle.css" by copying it to my themes directory (<my-themes-name>/modules/beesblog/views/css). However, don't matter what I do, if I look at the source of the page it always uses : <link rel="stylesheet" href="/modules/beesblog/views/css/beesblogstyle.css" type="text/css" media="all" /> so, it won't use the theme directory. How can I solve that? I already disabled all css optimisations, caching and also cleared the cache (server and client side). Any help would be great! Or is the beesblog style sheets path somehow 'hard coded'? If not, where is it decided to use the one in the theme directory (I can't find that spot in the php or tpl code, but I'm also not an php/smarty expert).
  14. I think I have found a problem with the calculation of the baseprice when a customer wants to order a product in quantity, there is a quantity discount and he can choose an article attribute that changes the base price. In my scenario it goes as follows. - I have an article which comes in 3 options (one attribute with three values). The options change the base price (in my case the price increases significantly, but that is slightly off topic). The default option does not have an impact on the base price. - I have a discount rule for customers if they order 5 articles or more. And another one for quantities of more then 10 (but that also does not matter, the problem already starts with the first discount rule). If a customer sticks to the default option. Every works as expected, including the discounting rules. However, if the customer chooses an option which has a price increasing effect. The following happens: - For quantities lower then the quantity discount rule threshold (5 in my case), the correct increased base price is displayed. - For quantities higher then the price discount threshold, the default option base price is displayed instead of the one linked to the option chosen. Although it then correctly applies the qty discount to this base price, it is completely wrong. If we the proceed to the check out, everything is well again. All prices and calculations turn to be ok. But I discovered that customers get in confusion and most of the time stop the order process. In most cases, they contact me through email but this is not the way to go. So, Am I doing things wrong or is it indeed a bug? I also uploaded some screen images.
×
×
  • Create New...