Jump to content
thirty bees forum

moy2010

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by moy2010

  1. Most of these sanctions do not come from the UN: https://en.wikipedia.org/wiki/SanctionsagainstIran http://www.sanctionswiki.org/Syria#General They are mostly arbitrarily applied by the EU and the U.S.
  2. Wow, this is utterly wrong. I'm glad my business is not located in the U.S. :S
  3. @violinparts said in Indiegogo ElasticSearch project: It is affecting category results. On some categories, it shows results. Other does NOT. Can you post screenshots to exemplify this behaviour?
  4. @SLiCK_303 , can you post the override instructions in case that any other user needs the same functionality?
  5. That's really cool, @MDekker. BTW, I loved the icon, lol.
  6. I have never done an SQL join using prestashop helpers, but it might work like this: $this->_select = 'st.`name` as state'; $this->_join = ' LEFT JOIN `'._DB_PREFIX_.'state` st ON (st.`id_state` = a.`id_state`) LEFT JOIN `'._DB_PREFIX_.'customer` c ON a.id_customer = c.id_customer '; $this->_where = 'AND a.id_customer != 0 '.Shop::addSqlRestriction(Shop::SHARE_CUSTOMER, 'c'); $this->_use_found_rows = false;
  7. The fields list is in controllers/admin/AdminAddressesController.php $this->fields_list = array( 'id_address' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'), 'firstname' => array('title' => $this->l('First Name'), 'filter_key' => 'a!firstname'), 'lastname' => array('title' => $this->l('Last Name'), 'filter_key' => 'a!lastname'), 'address1' => array('title' => $this->l('Address')), 'postcode' => array('title' => $this->l('Zip/Postal Code'), 'align' => 'right'), 'city' => array('title' => $this->l('City')), 'country' => array('title' => $this->l('Country'), 'type' => 'select', 'list' => $this->countries_array, 'filter_key' => 'cl!id_country')); You can modify it to include the state, I guess.
  8. Kudos for switching platforms :D. I hope to do the same anytime soon!
  9. Got it. If the product page was indexed by Google and it appears on search results, do you display the product page it a user clicks on it? I guess that your approach is useful for unique or rare products that cannot be easily found elsewhere.
  10. Yes, but what I mean is, do you display a blank page when a user clicks on a product with 0 stock?
  11. But if you do it at product.tpl, what will you display then?
  12. If we did this at render time, so to say, I guess it would require a SQL query per displayed/requested product to check the stock quantities. I that's true, wouldn't that be inefficient?
  13. Oh, lol. Didn't notice that one. Let's mark this as solved then. I hope this is useful for somebody else.
  14. Thanks, Michael. I'm checking the string value like this, but it's not rendering the p tag :S {if $product->visiblity == 'both'} visibility is both {/if}
  15. I want to check the product visibility in the product template (product.tpl). In product class there's the variable $visibility which stores a string: /** @var string ENUM('both', 'catalog', 'search', 'none') front office visibility */ public $visibility; And I've tried to access that variable directly fron product.tpl with no success. Is there a way to check if a class variable is passed to the controller? Or what do I need to do to have that variable available in the smarty template? Thanks in advance.
  16. That's not a screenshot of the module o_0 EDIT: Oh, yes it is. Damn, excellent work, @mdekker !
  17. @musicmaster posted a module for mass-editing a few days ago here: https://forum.thirtybees.com/topic/925/prestools-the-mass-edit-toolset
  18. Maybe you're spending some extra time reading messages in the forums :P
  19. Check the latest version of the module, they seem to have fixed the bug: https://www.presta-module.com/en/3-prestashop-addons/6-merchandising/7-advanced-search-4.html
  20. moy2010

    Bug??

    You mean, to display the bullets from the list?
  21. These changes were done on the github repo., wait a few days until the tests are done and the new version is released.
  22. Developing such a complex module is not easy. As Wakabayashi says, you are better preparing for christmas sales than for the final module. Though a beta version might come soon ;)
  23. The one that posted mdekker does the trick.
  24. Oh, you're right. Didn't see the config. for the different protocols.
  25. @mdekker , I thought that keepalive was useless with http2 :/
×
×
  • Create New...