• Dear Team

    There is a Drop down menu and a Multiple selectional menu, In Drop downmenu, I want to hide “+3” option, for example if the pizza regular price is 9, and xl pizza cost 12, I need to add in xl 3, so that total will be 12, but I want to hide “+3” option from frontend, as it may confuse to user, but dont want to hide from multiple selection option as that are extra topping, could you suggest me some code to hide.

    Thank you

    • This topic was modified 3 months, 1 week ago by winner singh.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    If you need just to remove the price from the drop-down select:

    Replace first appearance of the line:

    
    <option value="<?php echo $vid; ?>"><?php echo htmlspecialchars($value['title']) .' '. $this->formatPrice($value['price']); ?></option>
    

    with:

    
    <option value="<?php echo $vid; ?>"><?php echo htmlspecialchars($value['title']); ?></option>
    

    in the file:
    wp-content/plugins/product-options-for-woocommerce/view/frontend/templates/product/options.php

    The second time this line appears in the file is for the multiple drop-down select.
    So leave the second line unchanged.

    Stanislav

    Thread Starter winner singh

    (@winner-singh)

    Thank you for explanation, problem solved.

    Thread Starter winner singh

    (@winner-singh)

    another question is :

    I want to add extra cheese option if user select 26 cm pizza then 2.50 price if user select 30 cm pizza want to add 3,50 price if user select party pizza then want to add 5 price, how to do that

    extra topping I did with “multiple selection” but for every size of pizza i want to add different price for cheese.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    You can make options dependent on each other.

    There is a paid plugin for it:
    https://hottons.com/pofw-od.html

    Stanislav

    Thread Starter winner singh

    (@winner-singh)

    ok thank you for reply, I have bought the plugin, but when I try to install erro comes

    Unpacking the package…

    Installing the plugin…

    The package could not be installed. No valid plugins were found.

    Plugin installation failed.

    Go to Plugin Installer

    Some of your translations need updating. Sit tight for a few more seconds while they are updated as well.Updating translations for Elementor Pro (de_DE)…

    Download failed. Unauthorized

    my website frontend language if DE, so for intallation if i change to english then again I set to DE while operating plugin error occur?

    Thread Starter winner singh

    (@winner-singh)

    so i have also tested with english langauge site, same error come, please find out solution

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    You should unzip it on your computer.
    It contains a readme file and a package for WordPress installation.

    Contact me by email [email protected] if you have questions or need help.

    Stanislav

    Thread Starter winner singh

    (@winner-singh)

    ok I have sent you email

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.