最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - Discount in the specific product title using keyword ( Woocoommerce )

programmeradmin2浏览0评论

is it possible to create a function that calculates the 10% discount by specifying that in the "Clothing" category all products that contain only the word "shirt" in the title?

Or rather is possible to specify using a word containing in the product title as "shirt". That is, if products are titled:

  • Blue shirt
  • Blue jeans
  • Red shirt
  • White jeans

I have to apply the discount (via keyword "shirt") only to:

  • Blue shirt
  • Red shirt

It is a somewhat particular request I am aware of, but it was requested by a customer.

is it possible to create a function that calculates the 10% discount by specifying that in the "Clothing" category all products that contain only the word "shirt" in the title?

Or rather is possible to specify using a word containing in the product title as "shirt". That is, if products are titled:

  • Blue shirt
  • Blue jeans
  • Red shirt
  • White jeans

I have to apply the discount (via keyword "shirt") only to:

  • Blue shirt
  • Red shirt

It is a somewhat particular request I am aware of, but it was requested by a customer.

Share Improve this question edited Jan 3, 2020 at 15:14 Davide Ladisa asked Jan 3, 2020 at 11:39 Davide LadisaDavide Ladisa 263 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

try out this plugin hop it's work for you

https://wordpress/plugins/woo-bulk-price-update/

发布评论

评论列表(0)

  1. 暂无评论