Viewing 9 posts - 1 through 9 (of 9 total)
  • #308674
    gflwrg
    Member
    Post count: 113

    Hello, can you help me with adding an out of stock button that looks identical to the add to cart button please?

    It currently looks impractical and awful. Many thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #308680
    David Martin – Support
    Moderator
    Post count: 20834

    You can modify the CSS, an example would be this:

    .woocommerce .out-of-stock-badge {
        background: #666;
        font-size: 10px;
        transform: none!important;
        right: 0!important;
    }
    #308715
    gflwrg
    Member
    Post count: 113

    Hello David, just read my question and I apologise. I didn’t explain properly.

    I am looking to have the text on the ad to cart button say ‘sold out’ when item is out of stock.

    I will also like to remove the pesky out of stock text that shows up above the add to cart button please.

    Is this feasible mate 🙂 ?

    Attachments:
    You must be logged in to view attached files.
    #308719
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    That would require php customization that unfortunately it’s outside our support scope.

    -Rui

    #308724
    gflwrg
    Member
    Post count: 113

    Hello, what section required php customisation, alteration of the add to cart button to say ‘Sold Out’ or removal/changing the ‘out of stock’ text shown in red font?

    #308728
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    There are several files, but that is done inside the Woocommerce plugin. The files inside the add-to-cart directory.

    https://www.dropbox.com/s/4gruak2bs71v6tv/Screenshot%202017-01-03%2019.35.46.png?dl=0

    -Rui

    #308736
    gflwrg
    Member
    Post count: 113

    Many thanks mate. Will look into this.

    #308737
    gflwrg
    Member
    Post count: 113

    What about editing the css to achieve the following (pls see image) – The pricing superscript to allow for example. £2 standard font size while the .80pence in smaller script.

    Attachments:
    You must be logged in to view attached files.
    #308739
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register