moy2010
-
Posts
126 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by moy2010
-
-
Wow, this is utterly wrong. I'm glad my business is not located in the U.S. :S
-
@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?
-
@SLiCK_303 , can you post the override instructions in case that any other user needs the same functionality?
-
That's really cool, @MDekker.
BTW, I loved the icon, lol.
-
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;
-
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.
-
Kudos for switching platforms :D. I hope to do the same anytime soon!
-
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.
-
Yes, but what I mean is, do you display a blank page when a user clicks on a product with 0 stock?
-
But if you do it at product.tpl, what will you display then?
-
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?
-
Oh, lol. Didn't notice that one.
Let's mark this as solved then. I hope this is useful for somebody else.
-
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} -
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.
-
That's not a screenshot of the module o_0
EDIT:
Oh, yes it is. Damn, excellent work, @mdekker !
-
@musicmaster posted a module for mass-editing a few days ago here:
https://forum.thirtybees.com/topic/925/prestools-the-mass-edit-toolset
-
Maybe you're spending some extra time reading messages in the forums :P
-
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
-
-
These changes were done on the github repo., wait a few days until the tests are done and the new version is released.
-
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 ;)
-
The one that posted mdekker does the trick.
-
Oh, you're right. Didn't see the config. for the different protocols.
-
@mdekker , I thought that keepalive was useless with http2 :/
Transformer & Panda ST-Themes ThemeForest account on Envato has been Suspended :(
in English
Posted
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.