How to change your "Place Order" button

Last updated

Ecwid enables you to alter every bit of your storefront layout so that it will fit your site's design better. You can do it by adding styles to your custom CSS theme. More information about custom CSS themes: How to change Ecwid design. The same approach can be used to change Place Order button that is displayed on checkout. 


Please find further explanation and an example of customized Place Order button below.

Customizing look of Place Order button

Place Order button is designed in CSS3, which means they are done with the help of a set of gradients, opacity filters, rounded corners and other CSS effects specified right in the code (they are not static images). It makes them quite flexible to adjust and easy to translate . While it may be quite tricky to manually specify shape or color in the CSS3 codes for beginners, there are plenty ready CSS3 button generators on the web – you can use one of those for creating your own button and copy the generated CSS code to your custom CSS theme. For more details on CSS customizations in Ecwid, please refer to this article: CSS FAQ .

Example

For example, let's make the button orange, like in the image above. You'll need the following code:

.ecwid .ecwid-btn--placeOrder {
 background: #ff9c33;
}
.ecwid .ecwid-btn--placeOrder:hover {
 background: #ffc180;
}
.ecwid .ecwid-btn--placeOrder:focus,
.ecwid .ecwid-btn--placeOrder:focus:hover {
 border-color: #ffc180;
}
.ecwid .ecwid-btn--placeOrder:active,
.ecwid .ecwid-btn--placeOrder:focus:active {
 background: #ff9c33;
}

Add it to Ecwid Control panel > Settings > Design > CSS Themes > your active CSS Theme.

If you need unique custom design for your store or need multiple style changes, we can help. Please fill in this form: Custom design for Ecwid store. We will be glad to help you designing your Ecwid store.

Customizing text of Place Order button

Place Order button in Ecwid is designed by means of CSS3, it is not an image, thus in order to change 'Place Order' text, you can use the general approach for changing or translating texts in Ecwid: How can I change or translate any text in my storefront? . In particular, the JS code for changing 'Place Order' label to 'Order now' will look as follows:

<script>
ecwidMessages = {
"ProductBrowser.ModernButton.place_order":"Order now"
}
</script>

Please change the 'Order now' text as you wish.

Was this article helpful?
0 out of 1 found this helpful
Questions?
Get help
  • Forums

    Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users.

  • Contact us

    Still have questions about Ecwid? Let us know! We will be glad to help you with your Ecwid store.

  • Status Monitor

    Get real time status updates on Ecwid services here, 24/7