pandoria Posted May 17, 2011 Share Posted May 17, 2011 HI,I hope this time someone can help me. I need to have two prices for one product. Namely I have various teas for sale and I have a offer that if you pick up and mix 6 different ones you will save some cash. I need to put two prices on the product page so customers would be able to buy either in bulk or single item, I need sth similar to that http://cairnomohr.homestead.com/shop.html on the bottom ypu have discount bulk price and normal retail. I would be grateful for any support.regards,eva Link to comment Share on other sites More sharing options...
pandoria Posted May 17, 2011 Author Share Posted May 17, 2011 solced using this http://www.prestashop.com/wiki/Attributes_and_attribute_groups/#Create_variations_of_a_product_with_attributes nut one more quesion can i disable drop down menu so customer will see both prices at the same timeto see drop menu I had to add this to product.tpl {if isset($groups)} <!-- attributes --> {foreach from=$groups key=id_attribute_group item=group} {$group.name|escape:'htmlall':'UTF-8'} : {assign var='groupName' value='group_'|cat:$id_attribute_group} 0}$('#resetImages').show('slow'); {/if}"> {foreach from=$group.attributes key=id_attribute item=group_attribute} {$group_attribute|escape:'htmlall':'UTF-8'} {/foreach} {/foreach} {/if} {if isset($groups)} <!-- attributes --> {foreach from=$groups key=id_attribute_group item=group} {$group.name|escape:'htmlall':'UTF-8'} : {foreach from=$group.attributes key=id_attribute item=group_attribute} <input type="radio" name="group_{$id_attribute_group}" > {$group_attribute|escape:'htmlall':'UTF-8'} {/foreach} {/foreach} {/if} However I couldn;t manage to hide the select box, as when I hidden it the price java stopped working so i had to add spearate class and then hid it at the bottom of page using global css .attributesukryte p select { color: white; font-size: 0.01px; margin-left: -600px; margin-top: 1010px; width: 1px; position: absolute;} .attributesukryte p label{ color: white; font-size: 0.01px; margin-left: -600px; margin-top: 1010px; position: absolute;} NOT PERFECT BUT IT WORKS Link to comment Share on other sites More sharing options...
positivezero Posted April 8, 2012 Share Posted April 8, 2012 Hi there, i need your help again. It seems the link is broken. Could you help with that? Link to comment Share on other sites More sharing options...
YesYES12 Posted May 4, 2012 Share Posted May 4, 2012 Hi, Is there anybody to tell me how can I have my attributes like this, I don't need more, I need only something like this. tnx Link to comment Share on other sites More sharing options...
mimosina Posted January 27, 2013 Share Posted January 27, 2013 Please, does domebody have any solution for this topic? is just what I need but the link is broken Thanks in advance!!! Link to comment Share on other sites More sharing options...
marco989 Posted February 18, 2013 Share Posted February 18, 2013 (edited) Hi guys, I use PS 1.3.6 and i would like to display a specific text message when a customer from the Group X (not conditioned by his/her name of his/her customer id) is logged in. I tried the following combinations: {if $logged} {if isset($id_group) and $id_group==3} <p class="warning"> Show this message 1 </p> {else} <p class="warning"> Show message 2 </p> {/if} {/if} This option does not work ok and it displays the text in the {else} condition only. I tried as well {if $logged} {if (self::$cookie->id_customer)} {$customer = new Customer(intval($this->id_customer)); $customer->getGroups()} {if ($customer_group==3)} <p class="warning"> Show message 1 </p> {else} <p> Show message 2 </p> {/if} {/if} {/if} This code disables the body of the page completely. Any tips on how to code it correctly? Again, this is about showing a specific text message to a customer, depending on the group he's in (as set in the back office), independent of the name of the customer or the customer id. version PS 1.3.6 Edited February 18, 2013 by marco989 (see edit history) Link to comment Share on other sites More sharing options...
johanqnms Posted September 30, 2013 Share Posted September 30, 2013 Greetings, I need something like this: http://www.1800contacts.com/lens/air-optix-aqua Do you know if is possible in Prestashop? Thanks Link to comment Share on other sites More sharing options...
Joao Ferreira Posted February 8, 2016 Share Posted February 8, 2016 http://www.presto-changeo.com/pt/attribute-modules/34-attribute-wizard-pro.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now