Everything posted by moy2010
-
Transformer & Panda ST-Themes ThemeForest account on Envato has been Suspended :(
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.
-
Transformer & Panda ST-Themes ThemeForest account on Envato has been Suspended :(
Wow, this is utterly wrong. I'm glad my business is not located in the U.S. :S
-
Indiegogo ElasticSearch project
@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?
-
How To Add A State Column In The Customers->Addresses Overview
@SLiCK_303 , can you post the override instructions in case that any other user needs the same functionality?
-
How To Add A State Column In The Customers->Addresses Overview
That's really cool, @MDekker. BTW, I loved the icon, lol.
-
How To Add A State Column In The Customers->Addresses Overview
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;
-
How To Add A State Column In The Customers->Addresses Overview
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.
-
I made the switch to Thirty Bees!
Kudos for switching platforms :D. I hope to do the same anytime soon!
-
Show On Stock products only by default?
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.
-
Show On Stock products only by default?
Yes, but what I mean is, do you display a blank page when a user clicks on a product with 0 stock?
-
Show On Stock products only by default?
But if you do it at product.tpl, what will you display then?
-
Show On Stock products only by default?
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?
-
How to check product visibility in product template
Oh, lol. Didn't notice that one. Let's mark this as solved then. I hope this is useful for somebody else.
-
How to check product visibility in product template
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}
-
How to check product visibility in product template
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.
-
Let's talk about Search!
That's not a screenshot of the module o_0 EDIT: Oh, yes it is. Damn, excellent work, @mdekker !
-
Bulk Editing in Thirty Bees
@musicmaster posted a module for mass-editing a few days ago here: https://forum.thirtybees.com/topic/925/prestools-the-mass-edit-toolset
-
What is going on with the forum?
Maybe you're spending some extra time reading messages in the forums :P
-
Advanced Search 4 - Has errors
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
- Bug??
-
Update module not working
These changes were done on the github repo., wait a few days until the tests are done and the new version is released.
-
Let's talk about Search!
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 ;)
-
Nginx friendly URLs
The one that posted mdekker does the trick.
-
Nginx friendly URLs
Oh, you're right. Didn't see the config. for the different protocols.
-
Nginx friendly URLs
@mdekker , I thought that keepalive was useless with http2 :/