Jump to content

sfweb

Members
  • Posts

    29
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Catania
  • First Name
    Sergio
  • Last Name
    Di Mare
  • Activity
    Marketing / SEO Agency
    Web Development Agency
    Freelancer
    Developer

Recent Profile Visitors

2,937,222 profile views

sfweb's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

3

Reputation

  1. Hi, you can reorder array in tpl file edit /themes/THEME-XXX/templates/customer/_partials/address-form.tpl add {if $field["name"] == "id_state"} {$_resultorder = $field["availableValues"]|@asort} {/if} after {foreach from=$formFields item="field"}
  2. Hi, I solved my problem, my mistake was in the class I was overriding; here I found the right way to create the override. http://nemops.com/extending-prestashop-objects/#.X7uP52hKhhG
  3. Hi, this is my code for uninstall method: public function uninstall() { Configuration::deleteByName('PECSDIFIELDS_SHOW_REDLABEL'); include(dirname(__FILE__).'/sql/install.php'); return parent::uninstall(); }
  4. Hi, I'm having the same problem, did you find a solution? Let me know. Regards.
  5. If you want you can use this module, it shows the products images directly in the orders list page, so you don't need to access in the order detail page: https://addons.prestashop.com/en/combinaisons-customization/39933-products-image-in-orders-list.html
  6. Avete trovato un modulo per esportare i prodotti da PrestaShop a cercavino? Grazie.
  7. sfweb

    braintree

    ok, grazie mille.
  8. sfweb

    braintree

    Ma da dove l'hai presa, sul sito addons.prestashop.com c'è la 4.4.2. Grazie.
  9. sfweb

    braintree

    Con quale versione di PrestaShop e modulo PayPal? Io PS 1.7.5.1 e modulo di PayPal 4.4.2 Grazie.
  10. sfweb

    braintree

    A me succede con sandbox disattivata, quindi a te funziona senza sandbox? riesci a portare a termine un acquisto?
  11. sfweb

    braintree

    Ciao, hai trovato una soluzione? Grazie.
  12. Ciao, hai trovato una soluzione a questo tuo problema?
  13. After I wrote the post I've just found a solution, here is my code: This the renderForm inside my controller: public function renderForm() { $fields_list = array( 'id_test' => array( 'title' => $this->l('Col1'), 'width' => 25 ), 'field1' => array( 'title' => $this->l('Col2'), 'width' => 25 ), 'field2' => array( 'title' => $this->l('Col3'), 'width' => 25 ), ); $helper = new HelperList(); $helper->shopLinkType = ''; $helper->simple_header = true; $helper->identifier = 'id_test'; $helper->show_toolbar = true; $helper->title = 'Boomprice Used'; $helper->table = 'boomprice_used_cod'; $database_data=''; $sql = 'SELECT * FROM '._DB_PREFIX_.'table_name'; $results = Db::getInstance()->ExecuteS($sql); if (empty($results)) { $database_data= 'Nothing'; } else { $database_data = $results; } return $helper->generateList($database_data, $fields_list); } I hope this code will help someone.
  14. Hi ChewieTheWookie, I have the same problem, could you tell me please how did you make it work? I'm trying to do with HelperList inside the renderForm function in the controller, but it seems something is wrong with my code. What I want is open a detail page clicking on view or edit in the module list (see image attached).
×
×
  • Create New...