Search the Community
Showing results for tags 'down'.
-
Hi, my drop down menus run off the screen. How can I set the max height of the drop downs so that I get multiple columns instead of one long one? ps 1.7 tnx
-
Buenos dias, He añadido un campo debajo de total(sin coste de transporte), que se llama descuento comercial. entonces sobre el total, hago un descuento, pj 10%, me sale el importe de descuento, y funciona perfectamente. Pero al pulsar botón up/down, o modificar directamente la cantidad de cada linea de pedido, me refresca automaticamente el total de pedido, y el total de pedido con coste de transporte, pero NO me refresca automaticamente el importe de descuento. Pienso que algo de ajax, pero no sé de donde me meto. Espero que me ayudeis!!!! Mils gracias :) :)
- 2 replies
-
- carrito
- refrescar automatico
-
(and 3 more)
Tagged with:
-
Bonjour , J'aimerais mettre à jour les tables de base de données prestashop en fonction de deux fichiers csv. le premier contient 79 lignes, le second contient 4837 lignes. J'exécute la même requête en modifiant simplement les noms des tables. Une erreur se produit lors de l'exécution de la requête avec la deuxième table: le serveur prends du temps et il se bloque et je ne peux pas supprimer certaines tables pour réessayer. Quelle était l'erreur s'il vous plaît ?? Une idée? ceci la structure des tables et les requêtes executées: //psdms_feature_value_lang table CREATE TABLE `psdms_feature_value_lang` ( `id_feature_value` int(10) unsigned NOT NULL, `id_lang` int(10) unsigned NOT NULL, `value` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; // psdms_feature_product table CREATE TABLE `psdms_feature_product` ( `id_feature` int(10) unsigned NOT NULL, `id_product` int(10) unsigned NOT NULL, `id_feature_value` int(10) unsigned NOT NULL ) // psdms_product table CREATE TABLE `psdms_product_tag` ( `id_product` int(10) unsigned NOT NULL, `id_tag` int(10) unsigned NOT NULL, PRIMARY KEY (`id_product`,`id_tag`), KEY `id_tag` (`id_tag`) ) // discounts2 : csv file2 CREATE TABLE `discounts2` ( `refe` varchar(255) NOT NULL, `designation` text, `pvht` decimal(10,3) DEFAULT NULL, `pvttc` decimal(10,3) DEFAULT NULL, PRIMARY KEY (`refe`) ) // discounts : csv file1 CREATE TABLE `discounts` ( `refe` varchar(255) NOT NULL, `prixht` decimal(10,3) DEFAULT NULL, `prixttc` decimal(10,3) DEFAULT NULL, PRIMARY KEY (`refe`) les requêtes : /* discounts : csv file 1 */ UPDATE psdms_feature_value_lang t1 LEFT JOIN psdms_feature_product t2 ON t1.id_feature_value = t2.id_feature_value LEFT JOIN psdms_product t3 ON t2.id_product = t3.id_product LEFT JOIN discounts t4 ON t3.reference = t4.refe SET value = t4.prixht WHERE t2.id_product IN ( SELECT `id_product` FROM `psdms_product` WHERE `reference` IN ( SELECT refe from discounts)) AND t2.id_feature = 442 UPDATE psdms_feature_value_lang t1 LEFT JOIN psdms_feature_product t2 ON t1.id_feature_value = t2.id_feature_value LEFT JOIN psdms_product t3 ON t2.id_product = t3.id_product LEFT JOIN discounts t4 ON t3.reference = t4.refe SET value = t4.prixttc WHERE t2.id_product IN ( SELECT `id_product` FROM `psdms_product` WHERE `reference` IN ( SELECT refe from discounts)) AND t2.id_feature = 452 /* discounts2 queries : csv file2 */ UPDATE psdms_feature_value_lang t1 LEFT JOIN psdms_feature_product t2 ON t1.id_feature_value = t2.id_feature_value LEFT JOIN psdms_product t3 ON t2.id_product = t3.id_product LEFT JOIN discounts2 t5 ON t3.reference = t5.refe SET value = t5.pvttc WHERE t2.id_product IN ( SELECT `id_product` FROM `psdms_product` WHERE `reference` IN ( SELECT refe from discounts2)) AND t2.id_feature = 452 UPDATE psdms_feature_value_lang t1 LEFT JOIN psdms_feature_product t2 ON t1.id_feature_value = t2.id_feature_value LEFT JOIN psdms_product t3 ON t2.id_product = t3.id_product LEFT JOIN discounts2 t5 ON t3.reference = t5.refe SET value = t5.pvht WHERE t2.id_product IN ( SELECT `id_product` FROM `psdms_product` WHERE `reference` IN ( SELECT refe from discounts2)) AND t2.id_feature = 442
-
Hi there.. Can someone help me in creating a drop down menu in every product, where the customer by choosing number of payment installments an interest rate will affect the price. This will only be informative so that customers can choose better .. Can someone give me a clue how this should be planned? i attach a link to something similar.. http://constantinestore.gr/el/nike-kids-running/5547-nike-tanjun-tdv-818383-011.html Thanks in advance
-
- installments
- drop
-
(and 2 more)
Tagged with:
-
Bonjour à tous, Suite à la demande forte de voir le module "MeNu MeGa DrOwN Evolution" mis à jour pour obtenir une compatibilité avec PrestaShop 1.5 et l'auteur de ce dernier ayant stoppé son support et donc ses mises à jours, j'ai repris sa dernière version afin de la rendre compatible pour PrestaShop 1.5. Cette mise à jour représente beaucoup de travail effectué, mais rien comparé à l'ampleur du travail initial. Je tiens à féliciter le travail effectué par l'auteur original du module, par ailleurs. Le prix étant de base à 0€, le prix de cette mise à jour l'est également. Le support fournit le sera également. Pour l'histoire, je conserve le nom de l'auteur original au sein du module mais y appose un nouvel auteur (pour le support) et je définis la version comme 2.0 (et non 1.5 comme cela devrait normalement être puisque la version actuelle est à 1.4). GitHub: https://github.com/PrestaEdit/navmegadrownevo-v2.0 Edit: ce module n'est plus maintenu par son auteur, cfr.: https://www.prestashop.com/forums/topic/195259-module-gratuit-menu-mega-drown-evolution-v20/?p=2116936 navmegadrownevo-v2.3.9.4.zip
- 662 replies
-
- 11
-
-
Hi everyone: I am using prestashop 1.6.1.1 and basicly I have two types of products: The first group are fabrics that are sold in increments of 10 cm with a minimum quantity of 30cm. The second group are the rest of products that are sold 1 by 1 with a minimum quantity of 1. When I am doing the queckout, the "shopping-cart-product-line.tpl" file runs "themes/default/js/cart-summary.js" javascript file. This file defines the number of units to up or down the total quantity of the product. My problem is: if the total quantity of the product is >=30 units I want to increase the total quantity in 10 units (because the product is a fabric). If the total quantity of the product is < 30 units I want to increase the total quantity in 1 unit (because the product isn´t a fabric). In order to do this, I studied the code of the "cart-summary.js" file but I don´t find the way to do it because I don´t find the variable that contains the total quantity of the product. Any idea how i could get it? Thanks in advance. function upQuantity(id, qty) { if (typeof(qty) == 'undefined' || !qty) qty = 1; var customizationId = 0; var productId = 0; var productAttributeId = 0; var id_address_delivery = 0; var ids = 0; ids = id.split('_'); productId = parseInt(ids[0]); if (typeof(ids[1]) !== 'undefined') productAttributeId = parseInt(ids[1]); if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') customizationId = parseInt(ids[2]); if (typeof(ids[3]) !== 'undefined') id_address_delivery = parseInt(ids[3]); $.ajax({ type: 'POST', headers: { "cache-control": "no-cache" }, url: baseUri + '?rand=' + new Date().getTime(), async: true, cache: false, dataType: 'json', data: 'controller=cart' + '&ajax=true' + '&add=true' + '&getproductprice=true' + '&summary=true' + '&id_product=' + productId + '&ipa=' + productAttributeId + '&id_address_delivery=' + id_address_delivery + ((customizationId !== 0) ? '&id_customization=' + customizationId : '') + '&qty=' + qty + '&token=' + static_token + '&allow_refresh=1', success: function(jsonData) { if (jsonData.hasError) { var errors = ''; for(var error in jsonData.errors) //IE6 bug fix if(error !== 'indexOf') errors += $('<div />').html(jsonData.errors[error]).text() + "\n"; if (!!$.prototype.fancybox) $.fancybox.open([ { type: 'inline', autoScale: true, minHeight: 30, content: '<p class="fancybox-error">' + errors + '</p>' }], { padding: 0 }); else alert(errors); $('input[name=quantity_'+ id +']').val($('input[name=quantity_'+ id +'_hidden]').val()); } else { if (jsonData.refresh) location.reload(); updateCartSummary(jsonData.summary); if (window.ajaxCart != undefined) ajaxCart.updateCart(jsonData); if (customizationId !== 0) updateCustomizedDatas(jsonData.customizedDatas); updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); if (typeof(getCarrierListAndUpdate) !== 'undefined') getCarrierListAndUpdate(); if (typeof(updatePaymentMethodsDisplay) !== 'undefined') updatePaymentMethodsDisplay(); } }, error: function(XMLHttpRequest, textStatus, errorThrown) { if (textStatus !== 'abort') { error = "TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; if (!!$.prototype.fancybox) $.fancybox.open([ { type: 'inline', autoScale: true, minHeight: 30, content: '<p class="fancybox-error">' + error + '</p>' }], { padding: 0 }); else alert(error); } } }); }
-
http://chicshack.pswebshop.com/10-accessories Pretty much all the other sections are fine, but for Accessories there seems to be this issue of products being pushed down by some white box that's also.. I've tried firebug but it doesn't show any errors...
- 1 reply
-
- category page
- product
-
(and 4 more)
Tagged with:
-
Bonjour à tous, je rencontre un soucis sur les pages CMS de mon site. Rien ne se charge à l'ouverture des pages, tout reste blanc. Vous pouvez trouver le site à l'adresse suivante : http://www.sujiskateboards.fr Le problème se trouve sur les pages : SUJI, Customisation et Presse. J'ai vérifier mes liens dans l'onglet SEO URLS. Même lors de l'aperçu d'une page cms depuis le back office rien ne se charge. Avec firebug il n'y a aucun code qui remonte. Le reste du site fonctionne correctement. C'est la première fois que je me retrouve devant un probleme comme celui-ci. Merci, N'hésitez pas à me demander si vous avez besoins de plus d'information. Edouard Delbove
-
How to make my header top links become a drop down to add other links under it? Like for example My account Example example example example Currently all my top header links are simple, Could someone help me in making them become a drop down menu? I've searched google but ive found nothing on this subject...
-
Hallo Prestashop-Community Wir sind gerade dabei einen Mützen-Shop zu konfigurieren. Die Produkte sind nach Modell und nach Muster unterteilt, das Einzige, was der Kunde aus den Kombinationen ändern kann sind die Grössen, also Kopfumfang und Länge der Mütze, sowie die Farben (Grundfarbe, Farbe 2, Farbe 3, usw.). Es gibt 37 farben, 6 Kopfumfang Grössen und 12 Längen-Variationen. Ein Beispiel: Eine Mütze mit 3 verschieden Farben ergibt schon alleine bei den Farbkombinationen eine eine Zahl mit 43 Nullen!!!!!! Was wir wollen ist, dass der Kunde aus einer Dropdown-Liste den Farbcode und Grösse auswählen kann. Gibt es eine Möglichkeit ohne den Kombinationsgenerator eine Dropdownliste zu erstellen? Die Mengenangaben bei den einzelen Variationen sind uns nicht wichtig, da eine Mütze erst nach Bestellungseingang produziert wird. Hoffentlich kann da uns jemand weiterhelfen :-) Frohes Neues und Grüsse Das BreSHi-Team
-
Hello everyone I'm sorry to bother you with this. However I know there's a way to make a drop down for say sizing of shirts XL and so on. I also know they are customization I have forgotten how to do this and was wondering if anyone could point me to a tutorial or give me a point in the right direction I would appreciate it very much. I hope this is easy and okay
-
Hi everyone, I have problem. I was changing the tamplate of my presta. I changed one not important line in the global.css and after reupload my site and admin crashed. The only other thing I did before that was changing of hook of blocklanguages, but after that everything worked fine to the moment of changing of the css.. And this is what it show: Warning: require_once(/data/web/virtuals/20827/virtual/www/tools/smarty/Smarty.class.php) [function.require-once]: failed to open stream: No such file or directory in/data/web/virtuals/20827/virtual/www/config/smarty.config.inc.php on line 29 Fatal error: require_once() [function.require]: Failed opening required '/data/web/virtuals/20827/virtual/www/tools/smarty/Smarty.class.php' (include_path='.:/data/web/virtuals/20827/virtual') in/data/web/virtuals/20827/virtual/www/config/smarty.config.inc.php on line 29 Any idea how to solve it? Thanks for answer.
-
Hello all, I'm encountering an issue with my state drop down where it's not populating. This is happening with a few themes, but not all of my themes, including the default one. Based on that, I know it's not a database issue, but I did verify the database anyway to ensure it contained the state data I needed. I found a few older posts here and around the internet and their solutions (if there were any) did not resolve my problem. I have verified that the country field is being populated and it shows United States selected. I can also verify that the code in address.tpl to output the state field is identical to the code in the default theme, so there's no point in posting that here. So I suppose my question is given all the things I have already checked, has anyone encountered a similar issue, or can anyone tell me where the actual code to populate the state field is? Thanks to anyone who can help. It is certainly much appreciated. Kyle Marlin
-
Hello, I want my page to display a header alternative when scrolling down. As in this page http://www.saveur-biere.com/fr/ I followed this tutorial http://return-true.com/2010/04/scroll-activated-slide-down-header-with-jquery/ But show me this error Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "******/header.tpl" on line 38 "bar.stop().animate({'top' : '0px'}, 500);" - Unexpected " : ", expected one of: "}" , " "' in ********/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 Can anyone help me with this error or tell me how I can make the modification to display a header alternative when scrolling down.