Curex Importing Demo Data

NOTE: Before importing the demo content make sure that you have installed the Divi theme and it’s activated.

How to import the demo content? #

After you have successfully installed the plugin and activated it, please go back to the dashboard or refresh the page and you will Curex Divi child theme click on it.

1 1

Scroll to the very bottom where you will see the begin site import button click on it and wait for 5-10 mins until the importing is completed.

2 1

How to change the main home page from demo to Home 1,2,3,4,5 #

Head towards Dashboard > Settings > Reading > select the homepage as Home or Home 2 or Home 3 or Home 4 or Home 5 whatever the page you want as a homepage.

1 9

2 9

Delete duplicate WooCommerce pages #

In the importing process, there are Woocommerce pages that comes automatically with the Woocommerce plugin and the same pages comes with our plugin so there are two pages with the same name for example Cart(Divi) Cart, Checkout(Divi) Checkout, etc… so we have to delete those which have no content.

There are total 6 pages that you need to delete

Cart, Checkout, Shop, My-Account, Privacy Policy, Refund Policy

As an example we have given below:

how to delete extra page

How to change the slug of Woocommerce pages which are left now? #

Go to dashboard > all pages > click on quick edit and change the slug from cart-2 to just cart or checkout-2 to just checkout.

1 2

2 2

How to change the Woocommerce pages to the right ones? #

Go to dashboard > Woocommerce > Settings > Advanced > make sure to reselect after searching even if it shows you the pages there already.

1 3

2 3

How to change the Woocommerce shop page? #

Go to dashboard > Woocommerce > Settings > Products > make sure to reselect after searching even if it shows you the shop there already.

1 4

2 4

How to change the permalink? #

This is really important as if you don’t do then some of the pages will become 404.

Go to dashboard > settings > permalinks > post name > save changes.

permalinks setup

How to add Add to cart button on the shop page? #

We are using an external PHP plugin for this functionality.

Please navigate to dashboard > settings > PHP inserter > paste the following code there and make sure the plugin is in ON state as by default it’s OFF.

function popup_enqueue_scripts(){
wp_enqueue_script( 'magnific-popup', ET_BUILDER_URI . '/feature/dynamic-assets/assets/js/magnific-popup.js', array( 'jquery' ), '1.3.0', true );
wp_enqueue_style('et_jquery_magnific_popup', ET_BUILDER_URI . "/feature/dynamic-assets/assets/css/magnific_popup.css", [], '1.3.0');
add_action('wp_enqueue_scripts', 'popup_enqueue_scripts', 20);/* Display Add to cart button on archives */
add_action('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_add_to_cart', 10);

Submit a Comment

Your email address will not be published. Required fields are marked *

Pin It on Pinterest