Jump to content

Product presentation only - no shopping


Recommended Posts

  • 1 month later...

I think if you do this it can help

On Modules find "modules/homefeatured/homefeatured.tpl" and "modules/blockwishlist/view.tpl" and search for

{l s='Add to cart' mod='homefeatured'}  



and delete

Now in your theme in use find "theme/your_theme/product.tpl" and search for

quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>



and delete

Now in your theme in use find "theme/some_theme/product-list.tpl" and search for

{l s='Add to cart'}



and delete

Hope this can help!

Make sure you make backups before editing :-)

Link to comment
Share on other sites

  • 1 month later...

excuses my bad English... I have tried your change. everything is all right... only that in the home page (front office)--> in the block homefeautures are always seen the buttons of it purchases (without the writings). How do I do to eliminate the buttons (add to the cart) in block home features homepage?

Please

Link to comment
Share on other sites

you are right... they were two laces in homefeaturres.tpl... however.. a question: as I do to lift the panel of the block in low (the space stays left by the button "add to the cart). Do you know how I can reduce the height of the block not to leave the empty space (what before it was busy from the buttons "add to the cart?" ?

Link to comment
Share on other sites

ok..thancks...but..I believe that this thing is worth both for the 1.0 and for the 1.1... your change is correct... it stays only to resolve the problem of the space that stays empty (where originally the buttons were "add to the cart") in the block homefeatures in homepage... don't you know how the block can be modified for eliminating that empty space left by the buttons "add to the cart?"

..believe me.. I have so much need of it. you would help me please

Link to comment
Share on other sites

excuse... you are very kind. thanks for the availability... I am new of prestashop... the problem is that empty space left by the buttons "add to the cart"... I don't know whether to eliminate that empty space. No I believe that he depend on the file (themes)\css\global.css.. the questions that I hand you is as I can eliminate the empty space.. from the inferior bar of the block a lot of space stays.. I would want to eliminate only that space that before it was busy from the loots "you add to the cart".. do you have some idea?

Link to comment
Share on other sites

excuse... you are very kind. thanks for the availability... I am new of prestashop... the problem is that empty space left by the buttons "add to the cart"... I don't know whether to eliminate that empty space. No I believe that he depend on the file (themes)\css\global.css.. the questions that I hand you is as I can eliminate the empty space.. from the inferior bar of the block a lot of space stays.. I would want to eliminate only that space that before it was busy from the loots "you add to the cart".. do you have some idea?


Can you show us a picture to see what are you talking about?
Link to comment
Share on other sites

It looks at the image. How can I eliminate the space that he is empty after I have cancelled the button and the scritts ("add to the cart") in the block home features in homepage? On which files and code I must intervene because I can lower the part of the inferior edge of the block?

3410_5nmjH6gJOmZAUKOaaxMR_t

Link to comment
Share on other sites

thanks... you are very kind. The space that stays empty (where before the button was "add to the cart") is ugly to be seen. It needs only to lift (as from image attached before) the block from under and to eliminate so the empty space. I hope for you succeeds in resolving this problem.
Still thanks for your help

Link to comment
Share on other sites

I use the version 1.0 in localhost on my computer. In the version 1.0 the files modules/blockwishlist/view.tpl doesn't exist.. but it is not this the problem. The button "add to the cart".. it disappears. The true problem that he remains is the empty space in the layout of the block (as from attached image). I don't understand this code where I must put him:

Try adding this to the css file

a.exclusive
{
display:none;
}

ul#product_list li a.exclusive
{
display:none;
}

#add_to_cart
{
display:none;
}


Have not you told me in which file (perhaps global.css???) ... and you has not specified me in what part of the file to insert him. However I think both a some space left empty in the 3 fileses to modify pointed out by hieloiceberg.

For this I kindly ask you help.

Link to comment
Share on other sites

  • 4 months later...
Can't you just set Settings-Products "allow buying when out of stock" to no, "display quantity on page2 to no and then set product quantity to 0 ?



Hi, do you have an idea why my button on settings/products/allow when put to no turns back on yes????
Does it has to do sthg with permissions or what is the problem????

Thanks a lot!
Link to comment
Share on other sites

×
×
  • Create New...