Search the Community
Showing results for tags 'dynamic'.
-
Hi How can I solve this with attributes and combinations? one product have colors: white, black and blue and the color white have an accessory available that increase the price. But the other two colors don’t. How can I set up this combination? Thanks!
- 1 reply
-
- dynamic
- combinations
-
(and 1 more)
Tagged with:
-
Hallo, Ik ben nog nieuw hier op het forum, dus weet niet goed of de gestelde vraag hier juist staat. Maar... Ik ben eigenlijk op zoek naar een oplossing voor een offerte module. Wij hebben op onze webshop voor 90% producten die allemaal dynamisch zijn. Hiermee bedoel ik dat de producten moeten samengesteld worden door de klant. Wij verkopen glas, met name ook binnendeuren en douchedeuren, enz.... Nu heb ik groot probleem bij het vinden van een goede offerte module. Bij de meeste van deze modules komt er enkel een foto van het product en de prijs, maar welke samenstelling dat de klant heeft gedaan dat zie ik niet, en dat is een groot probleem. Op de Checkout page van Prestashop daar komt alle informatie wel correct op te staan, dus het is wel mogelijk om het te laten verschijnen. Heeft iemand hier ervaring mee? Of kan iemand mij uit de nood helpen met dit probleem. Alvast bedankt voor de genomen moeite. Met vriendelijke groeten, Fons ps: dit is de voorlopige shop URL: https://fonsd.sg-host.com/ (nog in ontwikkeling)
-
Hello, I am developping a module and I've been searching a way to change on which combination of a product a customer will get by clicking on a product from the category page or a product slider. I wanted to change the link dynamically with the hook actionGetProductPropertiesAfter, however it seems that it is cached so it can't be modified every time (I need the cache to be activated). The solution I found, which is not satisfying at all, is to add some JS on the product page detecting if the attribute is the right one for the customer and if it is not, I redirect the customer to the right attribute. In details : - I put a parameter in catalog/_partials_miniatures/product.tpl at the end of the product url. - On my product page, I have some JS detecting if this parameter is set, if it is, then it checks for variables I send with Media::addJsDef(). If it isn't the attribute I want for this customer, then he gets redirected (at this moment the parameter in the url disappear) Also, I wanted to add my variables with Media::addJsDef() in the hook actionFrontControllerSetMedia, but it is also cached. So I set them in the hook displayProductAdditionalInfo (which calls a tpl with my script there), it is worth noting that it works only because I have the module Page Cache, otherwise this hook is cached too and it would be impossible to do something dynamically. I know this is not clean, that's why I'd like to get a proper solution for this if possible, I can't seem to find one at the moment. I hope i was clear enough. Thanks
-
- dynamically
- dynamic
-
(and 3 more)
Tagged with:
-
Hi everyone, I have a question about the functionality regarding attributes. I need my T-Shirt store to allow to sell bodysuits for toddler. Currently, we have only shirts on my store for men and women, oviously the sizes are the same for both genders, but for bodysuits, the things are different because we don't use S, M, L, XL, XXL sizes, instead we use NB, 6M, 12M, 18M and 24M. So, I would like the following attribute groups: 1. Type (Bodysuit, Kids T-Shirt, T-Shirt, Lady Tank Shirt, Lady V-Neck Shirt). 2. Sizes for all types except toddler (S, M, L, XL, 2XL). For toddlers (NB, 6M, 12M, 18M, 24M) 3. Color (depending on the specific product displayed) The magic that I want, is when we select the Bodysuit type, the sizes dropdown or radio buttons should change to Toddler sizes, and when we select any of the other types, then show the predetermined sizes. Do I need to code or there's a module to allow this functionality?, thanks for the help PD: PS Version: 1.7.1.2, Theme: PRS01 (Mega Trone Tools)
-
Dear developers, I've been trying to create a second option of url rewrites to a product. In the standard Prestashop installation at the SEO & URL's section i've got the following products url build-up: {category:/}{id}-{rewrite}-{ean13}.html This creates the following products url: https://www.example.com/{category-name}/{product-id}/{product-name}/{ean13}.html What i would like to add is an option for various reasons to acces a products page through the following url build up: ean/{ean13}.html The result url would be something like the following example: https://www.example.com/ean13/{ean13}.html Is there a module, addon, or piece of code out there that would be able to generate these kind of structures? I did find some "Remove ID's from pretty url's" modules but that doesn't give me the result i'm searching for. Only partially since it only removes the ID's. It wouldn't be a problem if it's a redirect to the standard url build up as mentioned in the first {code} segment. I know i could write rewrite rules in my .htacces file but to do this for every product would be a lot of work so i was wondering if there is a more easy way of achieving this. Kind regards and thanks in advance!
-
Hi! I am trying to make dynamic links. The target is to point to the same place for then change the domain without problems. Thanks!
-
This is regarding Block layered Navigation module in prestashop 1.6.3 well i want to include a custom filter "discount" into layered navigation block that should take value dynamically from uploaded value from CSV.(CSV IMPORT PRO -module) I want to display it in "%" and "amount" format. It would be same like as "Price range" feature where we need to move slider in order to get price variant from min to max. only thing is i need this feature in check box or radio button features so that a particular discounted product will be visible when we check the box. i also don't wont this feature to be manually added through "Product feature" or "combinations". also i need this feature on product category page.(Left Column) please help me as the matter is very urgent for me and my company and also for my job. if iam unable to resolve this issue i can lose my job. my company website is: http://www.shelltag.com
-
Hello everybody, I would like to find a module, or find a talented developer for that module. Thank you for kind reply. What is needed: Automatic (dynamic) Pack selection when calculating best price for quantity needed. Quantity - is the variable entered by client when visiting a product page. Lets make it easier to understand: 1) open this link: http://addons.prestashop.com/demo/FO8205.html - you will see predefined quantities (Packs 1000,2000,3000). These are predefined. 2) open this link: http://addons.prestashop.com/en/front-office-features-prestashop-modules/3129-fo-quantitydeclinations-prices-quantity-per-multiple.html - here you will see the idea, when client enters the quantity. See here: http://demos.foqty.oleacorner.com/en/t-shirts/1-t-shirt-delave-manches-courtes.html 3) But second module lacks of more price ranges per quantities. 4) Both of modules lacks of "automatic Pack selection" by given quantity. what is "automatic Pack selection"? Lets see examples, assuming the stock in infinite. Lets take example number ONE: 1) client wants to buy 111 pcs of product. 2) in predefined product Packs we have: pack A, containing 1 pcs of product, pack B, containing 10 pcs of product, pack C, containing 20 pcs of product. 3) pricing is best for pack C. I mean that pricing A>B>C. - A is worst, B is better, C is best price per product. 4) What is the best available price for 111 pcs? Assuming no more extra discounts. 5) the answer should be automatically calculated for client in that way: 6) (5 * pack C) + (1 * pack + (1 * pack C) = a best price. Lets take example number TWO: 1) client wants to buy 29 pcs of product. 2) in predefined productPacks we have: pack A, containing 1 pcs of product, pack B, containing 10 pcs of product, pack C, containing 20 pcs of product. 3) pricing is best for pack C. I mean that pricing A>B>C. - A is worst, B is better, C is best price per product. 4) What is the best available price for 29 pcs? Assuming no more extra discounts. 5) the answer should be automatically calculated for client in that way: 6) (1 * pack C) + (0 * pack + ( 9 * pack C) = a best price. 7) even more - telling the customer: "buy +1 pc to get better price (formula: (1 * pack C) + (1 * pack + ( 0 * pack C) = a best price)" I didnt calculate all the cases for example number TWO, but it can be, that situation X: (1 * pack C) + ( 0 * pack + ( 9 * pack C) is worse that situation Y: (0 * pack C) + (2 * pack + ( 9 * pack C ) Thanks for reply. Have a good day!
- 2 replies
-
- combinations
- price
-
(and 8 more)
Tagged with:
-
Hello, Note: This is regarding Block layered Navigation module in prestashop 1.6.3 well i want to include a custom filter "discount" into layered navigation block that should take value dynamically from uploaded value from CSV.(CSV IMPORT PRO -module) I want to display it in "%" and "amount" format. It would be same like as "Price range" feature where we need to move slider in order to get price variant from min to max. only thing is i need this feature in check box or radio button features so that a particular discounted product will be visible when we check the box. i also don't wont this feature to be manually added through "Product feature" or "combinations". also i need this feature on product category page.(Left Column) please help me as the matter is very urgent for me and my company and also for my job. if iam unable to resolve this issue i can lose my job. my company website is: http://www.shelltag.com
-
Hi everybody I'm having a real problem with Prestashop 1.6 right now, regarding attributes. Here is what I need: Say I have product A. This can be one of two attributes, red or blue. This works fine, but then each of these have different sizes, so red could be 100cm and 150cm, whilst blue would be 200cm and 500cm. In addition, if you select blue, there is an additional selection that red doesn't have, e.g. shape. Is there anyway that you can have a attribute selection list that dynamically updates based on what the user selects? A paid module would be fine if there are no free solutions.
- 3 replies
-
- attribute
- combination
-
(and 3 more)
Tagged with:
-
Prestashop-Version: 1.6.0.6 EDIT: fadeToggle(); did the trick, don't need to know the id at this point. I did an onchange-event for the radio-buttons in order-carrier.tpl: <input id="delivery_option_{$id_address}_{$option@index}" class="delivery_option_radio" type="radio" name="delivery_option[{$id_address}]" data-key="{$key}" data-id_address="{$id_address|intval}" onclick="handleClick(this)" onchange="yeon();" value="{$key}"{if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key} checked="checked"{/if} /> Following code works in Chrome: function yeon() { if ($('#delivery_option_8_1').is(':checked')) { $('#abhol').show(); } else { $('#abhol').hide(); [spam-filter]; but for Firefox it needs to be 4_1 not 8_1: function yeon() { if ($('#delivery_option_4_1').is(':checked')) { $('#abhol').show(); } else { $('#abhol').hide(); [spam-filter]; And I dont know about the other browsers. The best thing would be if it would be possible to set: #delivery_option_*_1 So the star could be anything. I also tried detecting the browser like: function yeon2() { var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; // Opera 8.0+ (UA detection to detect Blink/v8-powered Opera) var isFirefox = typeof InstallTrigger !== 'undefined'; // Firefox 1.0+ var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0; // At least Safari 3+: "[object HTMLElementConstructor]" var isChrome = !!window.chrome && !isOpera; // Chrome 1+ var isIE = /*@cc_on!@*/false || !!document.documentMode; // At least IE6 yeon(); }; in combination with: function yeon() { if (isChrom) { if ($('#delivery_option_8_1').is(':checked')) { $('#abhol').show(); } else { $('#abhol').hide(); } } if (isFirefox) { if ($('#delivery_option_4_1').is(':checked')) { $('#abhol').show(); } else { $('#abhol').hide(); } } } I can imagine that my coding is noob-style (sorry for that), but Im open for any suggestions. (I don't mind putting my code into the trash) I would be very happy if anyone could help me. Thanks soo much
-
Hello everyone ! On my website (http://lafabrique-e-liza.fr/), I have enabled free shipping fees if the order reaches more than 80€ in the backoffice. I would like to let my customers know that if they order for more than 80€, they'll get free shipping. In order to do so, I edited some files in the blockcart.tpl file, adding the following lines below the "Checkout" button : {if $total - $shipping_cost < 80} <p> Livraison gratuite au-delà de 80€. </p> {/if} Now, I have two issues : 1) First of all, with this code, everything runs fine, except that the user has to refresh the page in order to update the "if" condition. For example, if I have ordered for 70€ and add (from the same page) an article, allowing me to reach 80€, the text won't disappear. The same goes the other way. If there's more than 80€ in my cart, and I delete an item, reaching like 70€, the text won't appear dynamically. I assume this issue is caused by the fact that AJAX doesn't know he has to update the cart block dynamically (at least for this field). Now, how should I do that? 2) Secondly, the amount (here 80€) that the user has to reach to get free shipping may be changed in the future. As I do not wish to come back to the code too much after the website is launched, I would like to know how to replace this "80€" with a variable. I'm assuming it's something like this (but I don't know if the syntax will be read properly, refer to issue 1) : {if $total - $shipping_cost < $amount_for_free_fees} <p> Livraison gratuite au-delà de {$amount_for_free_fees}. </p> {/if} However, I do not know which variable it is that I have to call for, and haven't found any topic about it. I've tried some things, but now that I get a basic understanding of how the system works, I can't figure out a way to resolve my issue myself. Any help would definitely be most appreciated. Thanks !
-
We had been using Rocky's AJAX Sliding Accordion Categories module (http://www.prestashop.com/forums/topic/34769-module-ajax-sliding-accordion-categories/) for a site running PS 1.3.2.3. This only loads the subcategories on demand which is really essential as the store has a huge number of categories and the standard blockcategories module was causing all sorts of problems! We are now upgrading the store to 1.4.11 and Rocky is no longer developing for PS (eek!). I have contacted him but if he is unable to help, I am desperately looking for a similar module to replace this. Are there any other modules that do this?
- 1 reply
-
- categories
- dynamic
-
(and 2 more)
Tagged with:
-
Hello, i create a module for prestashop 1.5, my module is to show th site name and the slogan, and can be configured in the backoffice, the module appears in the home page, but whene changing to other pages it disappears : exemple : ps : in the source code it's always there, but it does not show in the pages. --------UPDATE--------- found the solution, the problem was in <H1> tags, i just replace it with other tags and it worked.
- 1 reply
-
- module
- Configuration::get
-
(and 1 more)
Tagged with: