Codeinwp / Codeinwp/otter-blocks
Add to Cart button customizations
Open
Nobody has claimed this yet.
new feature
- Dominant language
- JavaScript
- Stars
- 198
- Forks
- 36
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 30
Description
What problem does this address?
I think it would be great to be able to change the alignment and the text of the Add to cart button.
Also, maybe control on how the button should behave (open in a new tab/open in the same tab/etc).Cart
What is your proposed solution?
Create buttons in the tools bar and maybe accordions in block settings.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Add to cart button implementation in the Gutenberg block and review how its tools-bar and block settings are defined. Use the screenshot and proposal as the requirements; done means alignment, button text, and link-opening behavior can be configured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100