Support » Plugin: WPPizza » Hide / remove price

  • Resolved Szalk

    (@szalk)


    Hi!

    I do not want to price. I do not want to see the “menu” and did not want to see in the basket.

    Details of which should be removed from the code? Which files?

    Is it possible? I searched but could not find …

    Thanks for your help!

    http://wordpress.org/extend/plugins/wppizza/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author ollybach

    (@ollybach)

    wppizza->layout its all there

    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.

    Plugin Author ollybach

    (@ollybach)

    you cannot order online without showing prices

    Szalk

    (@szalk)

    Too bad … thanks.

    Plugin Author ollybach

    (@ollybach)

    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)

    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>

    Plugin Author ollybach

    (@ollybach)

    or write a customised javascript function that takes them out of the source too

    Plugin Author ollybach

    (@ollybach)

    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)

    Szalk

    (@szalk)

    Thank you very much! I’m trying …

    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;}

    Plugin Author ollybach

    (@ollybach)

    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 !!)

    Szalk

    (@szalk)

    Another one …
    The “Orders” page, where you have to aggregation. They know how to hide the prices?

    Plugin Author ollybach

    (@ollybach)

    same way.
    use css

    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!

    Plugin Author ollybach

    (@ollybach)

    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)

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Hide / remove price’ is closed to new replies.