wppizza->layout its all there
Thread Starter
Szalk
(@szalk)
It’s okay.
But if I set this: “Hide prices altogether”
So there is no option to order online. The basket does not work. And just like that, without price. I need a basket and order online.
you cannot order online without showing prices
the only thing you could do/try
find ALL the classes/elements that have the prices and do somthing like this in your (customised) css
.wppizza-cart-item-price{display:none}
(won’t take the prices out of the source though)
Thread Starter
Szalk
(@szalk)
You can tell me which file that is included in the section which will list the prices? I try to delete …
THIS:
<div class="entry-content"><article id="post-77" class="post-77 wppizza type-wppizza status-publish hentry wppizza-article entry-content"><div class="wppizza-article-img"> … </div><div id="wppizza-article-tiers-77" class="wppizza-article-tiers"><span id="wppizza-77-2-0" class="wppizza-article-price wppizza-add-to-cart" title="berakom a kosárba" style="display: block;"><span><strong>PRICE</strong></span><div class="wppizza-article-price-lbl"> … </div></span><span id="wppizza-77-2-1" class="wppizza-article-price wppizza-add-to-cart" title="berakom a kosárba" style="display: block;"> … </span><span id="wppizza-77-2-2" class="wppizza-article-price wppizza-add-to-cart" title="berakom a kosárba"> … </span></div>
or write a customised javascript function that takes them out of the source too
they are all in the templates folder/directory
its not just one file that displays the prices.
you really should consider using css to hide them…(but what do i know)
Thread Starter
Szalk
(@szalk)
Thank you very much! I’m trying …
Thread Starter
Szalk
(@szalk)
It’s work!
thanks!
default.css
/****prices and labels*****/
.wppizza-article-price{float:left;text-align:center;padding:3px;font-size:120%;}
.wppizza-article-price:hover{cursor:hand;}
.wppizza-article-price>span{display:none;}
ok.
if its a customised version of one of css files that were included with this plugin:
if you havent already, make sure you have copied that file to your themes directory (otherwise it will get overwritten with the next update !!)
Thread Starter
Szalk
(@szalk)
Another one …
The “Orders” page, where you have to aggregation. They know how to hide the prices?
Thread Starter
Szalk
(@szalk)
If anyone’s interested, here’s the solution:
#wppizza-cart-contents>ul>li>span{display:none;}
#wppizza-cart-subtotals{list-style:none;}
#wppizza-cart-subtotals>li{display:none;}
#wppizza-cart-subtotals>li.wppizza-order-discount{display:none;}
#wppizza-cart-total{display:none;}
——————
really thank you for your help, Have a nice day!
you’re welcome – glad you got it sorted out (and for posting your solution. might just help someone else…..or at least give them some idea)