is there any way to change the amount of products buttons from the typical bubble buttons to the long rectangular ones?
Topic summary
A store owner wants to redesign product variant buttons on their Shopify site (myglowpurse.com) from small bubble-style buttons to larger rectangular ones that display quantity, price, and discount percentage together.
Current Issue:
- Product pages show compact buttons labeled “1 pcs, 2 pcs, 4 pcs, 6 pcs”
- Owner wants expanded buttons showing multiple details (quantity + price + % off) in a rectangular format
- Provided a reference image showing the desired button style
Proposed Solutions:
- Custom coding required to achieve this specific layout
- Cannot simply copy code from template sites
- One community expert offered to implement the custom code
- Alternative suggestion: manually edit theme CSS files to modify button styling (border-radius, width, padding)
Status: Discussion remains open. The owner connected with an expert who can provide the custom code solution, though timeline and implementation details were shared privately.
Hi @sarpow welcome to the Shopify Community,
Yes it can be possible please share the store URL so that i can look into it and get back to you with a solution.
Thanks
pass: being
no, i want it so when you click on the product, instead of the options being small little buttons that say 1 pcs, 2 pcs, 4 pcs, 6 pcs, i want long rectangular buttons which say the quantity, price, % off, etc.
Right so you want these buttons to have all the information you shared, %off, price quantity? Do you have any example?
@sarpow this can be done by some custom code. So i suggest you to hire an Expert if you are not a familiar with the core code.
is there any way to copy the whole code from a template site?
No currently its not possible.
do you know how to code it to get those buttons?
@sarpow yes i can do that for you.
awesome, how long will it take?
thanks for your help
just sent you details
Dear Sarpow,
Yes, you can change the product button style from bubble buttons to long rectangular ones by customizing your Shopify theme. Here’s how:
-
Edit Theme Code: Go to your Shopify admin, navigate to Online Store > Themes, click Actions > Edit Code.
-
Locate CSS/SCSS File: Find your theme’s CSS or SCSS file (e.g., theme.css or style.scss).
-
Add Custom CSS: Add code to style the buttons as rectangular, such as:
css
.button-class { width: 100%; border-radius: 0; padding: 10px 20px; }
Replace .button-class with the appropriate button class name from your theme.
-
Save and Preview: Save the changes and preview your store to ensure the new style appears as intended.
To change product buttons from bubble to rectangular in Shopify, go to Online Store > Themes > Edit Code. Locate the CSS file and add custom CSS like:
Save and preview your store to see the changes.


