Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Swatch Label / Swatch Color hex in post products attributes terms

オープン
#91 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

まず WooCommerce API のドキュメントと、issue に示されている products/attributes/2/terms リクエストを確認します。swatch のラベルと色の 16 進数値のパラメーターがサポートされているか、また API ドキュメントまたはラッパーの更新が必要かを判断します。サポートされるリクエストの動作が明確になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

 I am using the Woocommerce API to create products for my website.
 How should I send the colour hex code to the attribute term and turn on “Enable swatch”.

I want to update this:
Swatch Label -  for example, 'Pink2'
Swatch Color hex #FE9684
 
I'm using the API (python)
In the API doc. I don't find the Parameter for it too

{
"id": 23,
"name": "XXS",
"slug": "xxs",
"description": "",
"menu_order": 1,
"count": 1,
"_links": .....

print(wcapi.post("products/attributes/2/terms", data).json())

主要言語
Python
スター
216
フォーク
108
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

woocommerce/wc-api-python のほかの issue

woocommerce/wc-api-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。