Jump to content

Search the Community

Showing results for tags 'assign'.

  • Search By Tags

    • assign ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 14 results

  1. I have a public function in php page like this public function _getProductID($id_product) { return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT `id_product` FROM `'._DB_PREFIX_.'packing_product` WHERE `id_product` = '.(int)$id_product); } public function hookDisplayProductAddition...
  2. i have created a custom list of product, then i created $products_for_template like this $products = $ids; $assembler = new ProductAssembler($this->context); $presenterFactory = new ProductPresenterFactory($this->context); $presentationSetti...
  3. Hi, i need to auto assign parent categories to all products in my shop. For example: A -B -C --SUB1 --SUB2 -D -E A2 -B2 -C2 -D2 So i need to auto assign category "A" to B, C, SUB1, SUB2, D, E. Next assign category "C" to SUB1, SUB2. Next assign category A2 to B2, C2,...
  4. Hi, guys! I need to add new functionality to 'ps_emailsubscription' module. When the 'register for newsletter' button is clicked two things have to happen: a new one-use-only 5% discount voucher has to be created and assigned only to that specific email, even if the user is not registered...
  5. Hi, I am trying to group the products in cart summary page by suppliers. Within the {foreach $products as $product}{} loop, I am trying to assign a product value to a smarty variable. But when I am printing the value inside the loop, it is showing the default value which I have set before the lo...
  6. I have module store manager but I dont see how to do this in there or in PS back office??? As it is now all 1400+ products, when checking out , the customer can choose both carriers but I cant allow that. I know I can go into each product and select what carrier but there has to be a way to do this...
  7. J'essaie de lister tous les produits dans un onglet que j'ai créé dans la page produit du back-office, or l'onglet ne charge pas correctement. Voici la partie du code du template qui nous intéresse: {if isset($products) && $products} <ul> {foreach from=$products item=product} <li>{$pro...
  8. Hi crew, so right now I sell contact lenses and with up to 200 combinations with one generic image it would take forever not to mention the waste of time to edit one by one in ordeer to assign that image. I was expecting an option under Product Combination Generator to do exactly that, just after qu...
  9. I made my very first plugin , however, I want to show all products in a .tpl. So far it wasn't a problem in the php-file I made. But i really want to manipulate it through a controller, as recommended. It ALMOST works, I found a snippet with this: $this->context->smarty->assign( 'produc...
  10. Here is what I need. I need to assign a customer to 2-3 different groups for the purpose of different pricing on different products. Example I have a default group, dealer, and wholesale dealer. I want to be able to assign 1 customer to all 3 groups and get the best discount possible (wholesale de...
  11. I want to assign different carriers to specific product, so the buyers only have the options i want them to choose from. I have checked carrier in each product, but all the carriers still show up when checkout. Does anybody know why the heck this keeps happening???
  12. I am new to prestashop and smarty/php, so sorry if my question is very easy to solve. I try to display the shipping cost for 2 specific carriers in the shopping cart summary section (first screen during checkout procedure). I found out I should calculate the cost for the 2 carrier in OrderContr...
  13. Hola, soy un poco nuevo en prestahop y partí en el 1.5 Bueno, de pronto mi página pokedeckshop.com se empezó a caer y empezó a hacer errores HTTP 500 en todos los productos. Luego de a poco fue fallando más sin tocar nada hasta que hacía el error definitivamente en la página principal. Hoy ya...
  14. In the backend of Prestashop you can make an exception for modules in : Modules> posistion > edit. It would be great if you can also assign an module to a specific page. So you don't have to fill in all the execeptions if you want a module to show up in just one page...
×
×
  • Create New...