Home Forums Theme Support Dokan Sold Items

This topic is: resolved

This topic contains 5 replies, has 3 voices, and was last updated by  mlbennis 5 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18944

    mlbennis
    Member
    Post count: 11

    I want the produt to show a tag on the main image that says “Sold” (much like the tag “Sale” on the product image when it is discounted), as well as replace the line “out of stock” by “sold”

    where do i go to change that ? which php and line?

    thx guys

    ps: your theme rocks!

    #18947

    Nizam Uddin
    Keymaster
    Post count: 670

    hello mlbennis,
    please use action woocommerce_before_shop_loop_item_title for adding tag. we don't offer these kind of customization. please view our support policy.

    Thank you for understanding.

    #18948

    mlbennis
    Member
    Post count: 11

    but in what file??

    _
    Mohamed-L. Bennis
    mlbennis@gmail.com

    #18950

    Nizam Uddin
    Keymaster
    Post count: 670

    You could use action hook to your function file dokan/function.php.
    for more detail about action hook please visit here

    thank you.

    #19041

    Mahi
    Member
    Post count: 1555

    @mlbennis – Our Lead Developer Tareq Actually wrote a snippet for that.

    Check his blog: http://tareq.wedevs.com/2013/12/woocommerce-sold-out-badge-on-products-listing/

    #19048

    mlbennis
    Member
    Post count: 11

    thx guys. problem solved.

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

The topic ‘Sold Items’ is closed to new replies.