Jump to content
thirty bees forum

yaniv14

Members
  • Posts

    580
  • Joined

  • Last visited

  • Days Won

    24

yaniv14 last won the day on December 9 2023

yaniv14 had the most liked content!

Recent Profile Visitors

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

yaniv14's Achievements

  1. if you decided to commet out the part of code you mentioned above than you can put the hidden input right above it <input type="hidden" name="gift_message"> {* <p id="gift_div"> ..... </p> *} but also just hidding it with css will to do job just fine <p id="gift_div" style="display: none !important;"> ... </p>
  2. by commenting it out, you are removing the field from the form and thats why you are getting the error message from the server... because its missing 1 of its fields. you can just hide it from display to avoid this problem. like wrapping it with display: none. another option is to comment it out like you did, but add an hidden input field with the same name. like: <input type="hidden" name="gift_message">
  3. try from here https://github.com/thirtybees/blockadvertising/archive/refs/heads/master.zip
  4. regardless the validation in the module that can be fixed to support null value, i suggest you update the carrier required field of delay (i think its called transit time) make sure you have it for all languages
  5. maybe this can help you https://github.com/thirtybees/niara/blob/master/header.tpl#L89
  6. You can place your own javascript file inside your "theme_folder/js/autoload" and the file should be loaded automatically. Just override the entire function like @wakabayashi mentioned and I believe it should work, because Javascript allows overriding functions.
  7. classes/controller/FrontController.php classes/controller/FrontController.php
  8. It looks like you changed positions of cart module and top menu module.
  9. Working well on php7.4 - smarty 4.1.1
  10. try to change: $valuesQuery->select('id_feature, IFNULL(fv.custom, 0) as is_custom, COUNT(fv.id_feature_value) as count_values'); to: $valuesQuery->select('fv.id_feature, IFNULL(fv.custom, 0) as is_custom, COUNT(fv.id_feature_value) as count_values');
  11. id_product_attribute is the default attribute id of the product, if the product has any attributes/combinations. if no attributes/combinations exists for the product it will return 0. when you do conditional check 0 counts as false. to be more accurate in the case will be better to check that the integer value of the id_product_attribute is greater than 0. the reason you cannot call same "object properties/array keys" like "combinations" is because those variables are in most cases injected to the templates as smarty variables by php code in specific parts. for exmaple: in product.tpl most of the variables that available in the template comes from ProductController (FrontController)
  12. I believe you purchased a module for Prestashop 1.7 which is not compatible with ThirtyBees because ThirtyBees is based on Prestashop 1.6
  13. if you are using webp than disable it.
×
×
  • Create New...