WooCommerce themes setting and customization
Themes & Templates guidelines
Last updated
Was this helpful?
Themes & Templates guidelines
Last updated
Was this helpful?
The plugin "scalexpert" override the natives WooCommerce templates to display the scalexpert financing on the following pages: - product - shopping cart - order details (returned page after financing customer journey
Normally, the standard "" of Wordpress templates should ensure that scalexpert code is active. But we recommend strongly to test the render of these pages especially if you are using a specific or customized theme or even a using "" like for instance the "Twenty TwentyFour" theme.
You have encountered issued when rendering these pages, don't panic let us guide you in the diagnosis to solve your issue.
First, identify the theme you are using on your back-office "themes" menu:
Second, verify your in "WooCommerce" menu "setting/advanced" that all pages used are filled
Especially check that the "CGV" page is well filled otherwise you will not be able to activate the scalexpert payment button in the checkout page.
And also in the "WooCommerce" status menu:
We will demonstrate the setting with the standard "Twenty-twenty-four" theme. This theme use directly "woocommerce blocks" and therefore bypass the customization done by scalexpert plugin. We will correct this by overidden some part of the coding.
Open the editor from "appearance/editor" menu
Once opened, navigate into "template" menu to open the templates that need to be customized:
single product
cart
check-out
my account
Select the template, open it then go to the "code editor" menu to access the code of the template.
Then replace existing code by the following:
After recording, you should see appear the "financing" options in the product page:
Repeat the same operation for the other templates:
Code overridden are marked with a commentaire "SG Paiement en plusieurs fois".
We hope this tutorial will help you on the resolution of issues you may encountered in the customization of your theme.
Once, your theme identified you must found your "": "classic" or "block". According that "type" the method to customize your theme will be different.
Customization of "block" type theme can be done in the wordpress back office menu ""
However, it works this solution is incomplete as all "HTML" balises for instance for images blocks are not inherit from the original "TwentytwentyFor" theme. This is only for demonstration purpose and we let you finishing the job
The WooCommerce template that have been overridden are present in the wordpress directory ""
For more information on woocommerce templates structure directory see the .
No, we are very sorry for that! Because Wordpress theme are quite complex, we can't ensure to cover all the customization cases. If you are a developer we recommend you to read the related "Handbook" from wordpress and also . Otherwise, we strongly recommend you to look at your IT or your theme support maintenance team.