Jump to content

Jupiterr

Members
  • Posts

    75
  • Joined

  • Last visited

About Jupiterr

  • Birthday 02/06/1990

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Jupiterr's Achievements

Newbie

Newbie (1/14)

17

Reputation

  1. Hola Iregue, Siento decirte que, como comentas, hacer años que no toco Prestashop y no tengo nada posteado sobre ello, ni sabría solucionarlo ahora mismo... habría que mirarlo. El primer hilo que comentas supongo que te responderá con la solución. Un saludo.
  2. Hello, I'm having a problem with the combinations. The case is the following: 1. Add a product with 2 combinations and stock. 2. Sell all the stock from the first combination. 3. The product says "This product is no longer in stock with those attributes but is available with others." 4. Change to the other combination/make it default an the message is gone. The question here is: Is it possible to auto-switch the default combination to another one so the user doesn't see this message and always the products are "available"? I'm using Prestashop 1.6.0.9. Thanks in advance!
  3. Hi guys, I'm working on a new shop and the client needs to have special prices per group. The thing is that the % discount is not enough, we need to specify the price per group (sometimes it's not -20%, its -60%, per ex.). Do anyone know about a module compatible with Prestashop 1.5.4 or maybe a workaround? Thanks in advance!
  4. Hi guys, I'm using an old Prestashop 1.4.4.1 and I added tons of products to the category "all the products". This is an internal category and I can see the listing on Catalog. The problem is that this listing only shows me 25 products. I already checked a lot of products and all of them are inside this category and. Actually, the parent category is "all the products". This is a screenshot of the backoffice showing 25 productos: Am I missing something? Thanks in advance!
  5. Hi guys, I'v migrated a Prestashop (1.5.2) from Virtuemart and we noticed that some products from a specific category are not working properly. In fact, the combinations dropdown changes in an unexpected way. Example: I have 2 attributes: Medidas (Size) and Griferia (Taps) I select the value "Monomando LoftTres" and the URL stays "#/-/-". The value automatically changes to "Monomando LexTres" and the URL changes to "#/lavabos_griferia-monomando_lofttres/-" In fact, all the attributes work in a strange way, like the JS is failing and changes the values and even, sometimes, changes the select value from another attribute (like if you change color, it also changes size). I deleted the product and created a new one with only two attributes. It still works strange. This is a test product where you can play with the attributes and see what happens. Any idea? Thanks in advance!
  6. En Prestashop 1.5.2 se crean en classes/PaymentModule.php, línea 564. '{delivery_block_html}' => $this->_getFormatedAddress($delivery, '<br />', array( 'firstname' => '<span style="color:#75AAFF; font-weight:bold;">%s</span>', 'lastname' => '<span style="color:#75AAFF; font-weight:bold;">%s</span>' )), '{invoice_block_html}' => $this->_getFormatedAddress($invoice, '<br />', array( 'firstname' => '<span style="color:#75AAFF; font-weight:bold;">%s</span>', 'lastname' => '<span style="color:#75AAFF; font-weight:bold;">%s</span>' )), Un saludo.
  7. You should run the same query but also to the ps_product_shop table. UPDATE ps_product_shop SET id_tax_rules_group = 1 WHERE id_tax_rules_group = 0 Greetings.
  8. Ya está solucionado. No había caido en que ahora puedes filtrar productos-categoría desde la pestaña de productos. Véase captura de pantalla.
  9. It's solved. I just forget that you can filter the products-category under the products tab now. See screenshot.
  10. Hola gente, Estoy trabajando en el diseño de una tienda en un entorno de testeo, y me di cuenta de que si voy al Back Office y navego hacia Catálogo -> Categorías -> [Nombre de la categoría], me dice que "No se encontraron items". Es muy extraño ya que si voy a Catálogo -> Productos, los productos existen y están configurados con sus correspondientes categorias. Comprobé varios productos, cambié las categorías e incluso revisé la categoría por defecto, pero no hay cambios. Estoy utilizando Prestashop 1.5.1.0 ¡Gracias de antemano!
  11. Hi guys, I'm working with a new design on a test environment and now I realized that if I go to the Back office an then Catalog -> Categories -> [Name of the categorie], it tells me "No items found". That's quite strange since I can see the products on the front-end, and I if go to Catalog -> Products, the products are there with the corresponding categorie/s set. I checked various products, set another categories, check parent categorie, etc., but nothing changed. I'm using Prestashop 1.5.1.0 Thanks in advance!
  12. I used this on the override FrontController.php (attached). You should copy the entire FrontController.php and paste it on /override/classes/FrontController.php. Paste the following code on line 32. This checks if a user is on certain group. $customer = new Customer(intval($cookie->id_customer)); /* The group (number 1, in this case) you want to check */ $specificGroup = $customer->isMemberOfGroup(1); $smarty->assign('customerGroup', $specificGroup); I created the "customerGroup" variable and I used it on the blockcategories.tpl file to show another categories block with only certain categories (the ones who's have a special discount). As you can see, I wanted to show categories 22, 23 and 24. {if $customerGroup} <div id="categories_block_left" class="block"> <h4>{l s='Categories' mod='blockcategories'}</h4> <div class="block_content"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {* If the category is 22, 23 or 24, show it *} {if $child.id==22 || $child.id==23 || $child.id==24} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/if} {/foreach} </ul> {* Javascript moved here to fix bug #PSCFI-151 *} <script type="text/javascript"> // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> </script> </div> </div> {/if} Good luck. Note: It worked perfectly with 1.4.5.1, but with 1.4.6.2 it throws a warning and I get it working just by adding the code directly to the FrontController.php file (and not the override one). Anyway, this is the wrong way FrontController.php
  13. Remember to compile de code. You have that option on Preferences/Performance or just by deleting all the files on /tools/smarty/compile.
  14. El JS está en /themes/NOMBRETHEME/js/tools/statesManagement.js (y el treeManagment.js) y en el .tpl es donde comprueba que tenga provincias. Te paso ambos archivos para que intentes reemplazar (previo backup). Tengo una 1.4.5.1 así que no debería darte problemas. AuthenticationJS.zip
×
×
  • Create New...