THEDert Posted June 17, 2008 Share Posted June 17, 2008 Is there a module that can disable current items pricing to make it say Call For Pricing? 1 Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 There is no actual module, you just need to change these files ;-P product-list.tplproduct.tplAlso if you have any of the other module blocks you will need to change themexample edit homefeatured.tpl to remove pricing from the featured productsare you saying you want to disable all cart functionality if so you are talking about a much bigger job PM me I may be able to help you, although if you edit the tpl files this will also work for a quick hack to remove pricing manually from your template :coolgrin: Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 I just have 5 or 6 products that I want it to say call for pricing. Nothing real fancy. Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 OK the easiest solution would be if the price is 0 for the default message to be displayed instead of the price & cart would be "Call for Pricing" If this is what you require let me know which sections you need this modification in & I will provide you with the replacement code if you have already have made your own modifications, please post them first so I can replace your code without overriding changes Idealy you only need to change 2 files but if you have the extra blocks let me know which ones ;-) Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 I haven't done any changes. Your solution is perfect. I just want a display that says call for pricing instead of displaying the $0.00 price.You're Awesome! Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 Give me 5 mins & I will post the code ;-) Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 We will start with product-list.tpl let me know how you get on with this first than I will send the rest of the modsplease repace product-list with this: %-P > {if isset($products)} <!-- Products list --> </pre> <ul> {foreach from=$products item=product name=products} {if $product.new == 1}{l s='new'}{/if}{$product.name|truncate:35} {$product.description_short|strip_tags|truncate:360} {if $product.on_sale} {l s='On sale!'} {elseif $product.reduction_price != 0 || $product.reduction_percent != 0} {l s='Price lowered!'} {/if} {if $product.price != 0}{convertPrice price=$product.price}{/if} {if $product.price == 0}Call for Pricing{/if} {if $product.price != 0}{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}{/if} {if $product.price != 0} {if ($product.allow_oosp OR $product.quantity > 0)} {l s='Add to cart'} {else} {l s='Add to cart'} {/if} {/if} {l s='View'} {/foreach} </ul> <br> <!-- /Products list --><br>{/if Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 awesome, next Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 This one is even easier :cheese: product.tplJust add in the following 2 lines after <!-- add to cart form --> around line 108 {if $product->price == 0}Call for Pricing!{/if} {if $product->price != 0} then your form code remains the same <form id="buy_block" ..........after the form tag closes on the next line add: {/if} Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 Awesome man! Thank you so much! Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 If you need any additional mods let me know & if they are as quick as these ones no problem, otherwise if there is more work involved ie. converting prestashop to a catalogue PM me & I will see what I can come up with :coolsmile: Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 One question. I though tyou were talking about the product.tpl file on the firsrt code post. I don't seem to have a product-list.tpl file. Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 You must have it's in the themes directory ie. public_html/demo3/themes/prestashop/ Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 Hmm, I'm not running 1.0 RC3. my dir is public_html/themes/default Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 I suggest getting yourself over to RC3If you want the mods to work in an older version you will have to PM me your FTP access as I don't have this installedI have tested these mods which work with RC3http://dev-shops.7serve.net/demo3/3-accessories-ipod Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 http://store.arthurgroom.com/category.php?id_category=37&p=2http://store.arthurgroom.com/product.php?id_product=113 Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 is RC pretty stable? Is upgrading easy? Link to comment Share on other sites More sharing options...
THEDert Posted June 17, 2008 Author Share Posted June 17, 2008 I started on this site before RC released and was afraid if I update it I will lose the layout and design of the current test site. Link to comment Share on other sites More sharing options...
ejectcore Posted June 17, 2008 Share Posted June 17, 2008 I will look into this later for you please in the meantime PM me with your FTP details username & password etc. Link to comment Share on other sites More sharing options...
Learning Posted December 15, 2009 Share Posted December 15, 2009 Dear Amwdesign,Would appreciate if you can give guide to change the feature product as well. After the above change, the Price 0 is still display. How to change it to Call for price.Thanks for help. Link to comment Share on other sites More sharing options...
stuartvideo Posted October 15, 2013 Share Posted October 15, 2013 hi i like to do this with 1.5 PS. how can i do this? Link to comment Share on other sites More sharing options...
cewgroup Posted August 17, 2015 Share Posted August 17, 2015 I have PrestaShop 1.6. Can I replace product-list.tpl code for that you proposed? Code for product.tpl works fine. Link to comment Share on other sites More sharing options...
OldDurst Posted May 13, 2016 Share Posted May 13, 2016 I have 1.6.1 will this work? thanks Link to comment Share on other sites More sharing options...
Milople Posted June 20, 2016 Share Posted June 20, 2016 Hey, If you are looking for a module that hides price and put a clickable call for price button here is a module that can help you https://www.milople.com/prestashop-modules/call-for-price.html Thanks Prashant 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