WordPress.org

Ready to get started?Download WordPress

Forums

WPPizza
[resolved] Hide / remove price (16 posts)

  1. Szalk
    Member
    Posted 1 year ago #

    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/

  2. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    wppizza->layout its all there

  3. Szalk
    Member
    Posted 1 year ago #

    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.

  4. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    you cannot order online without showing prices

  5. Szalk
    Member
    Posted 1 year ago #

    Too bad ... thanks.

  6. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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)

  7. Szalk
    Member
    Posted 1 year ago #

    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>

  8. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

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

  9. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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)

  10. Szalk
    Member
    Posted 1 year ago #

    Thank you very much! I'm trying ...

  11. Szalk
    Member
    Posted 1 year ago #

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

  12. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

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

  13. Szalk
    Member
    Posted 1 year ago #

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

  14. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    same way.
    use css

  15. Szalk
    Member
    Posted 1 year ago #

    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!

  16. ollybach
    Member
    Plugin Author

    Posted 1 year ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.