Abandoned Cart Reminder in pretashop

Abandoned Cart Reminder is the tool that helps remind e-commerce customers that: “ You forget a product here”. This helps increase the number of orders and remind your customers to buy their favorite products.

Abandoned Cart Reminder

How many times have you added products to cart but forget to carry out the payment?  How many times have you ordered but when you are going to the payment, the internet is lost, or your baby is crying, or you are chatting with your lover, all of which make you forget your cart.

If you own an e-commerce website, will you think that your customers are like you. They also click on Add to cart button and then forget about it. So, they may waste a lot of time to find out their favorite products are sold in which page. About you, maybe you have a new customer to serve but you do not know where they are. Don’t worry, this problem will not take place anymore when you apply Abandoned Cart Reminder.

When you use the module, your customers will come back and purchase your products because of the following reasons:

  • Your customers are reminded via email: With 5 professional and attractive email templates, you just need to add your store’s name and logo. You can send voucher code to their email. I believe that they will pretend to get discount next time. But the most important thing is that your revenues will go up, is it right? Everyone is satisfied.
  • Notification via popup: Popup is extremely visual. You do not need to wait for your customers to leave your website because you can set up that after a specific period of time, the web page will show up a popup to announce customers to carry out the payment.
  • Sticky bar: Similarly to popup, Sticky bar allow customers to know that they have a discount of the products they choose.
  • Browser Notification: I suggest that you should use this feature because it can notify in all browsers and devices.
  • Browser Tab Notification: if you use face browser to receive notifications, this feature of Abandoned Cart Reminder has the same function.

It is a very great module helping you increase your revenues and your customers not forget their favorite products. Please get access to https://addons.prestashop.com/en/remarketing-shopping-cart-abandonment/26740-abandoned-cart-reminder-5-in-1.html to have more detailed information, as well as try the demo before deciding to purchase one.

woocommerce hide breadcrumbs

Depending on the users’ design and requirement, they need to have woocommerce hide breadcrumbs. The aim of breadcrumbs is to filter products, as well as identify the website structure from which users can search for information with the least operations.

woocommerce show attributes on shop page

Breadcrumbs play an important role in supporting users as well as promoting SEO such as an increase in the rate of keywords and clicks, and a decrease in the rate of page-exiting, etc. However, in small pages, landing pages are not necessary to contain breadcrumbs. It is the reason why we write this article which focuses on woocommerce hide breadcrumbs.

There are two ways to hide breadcrumbs on the WordPress website in which woocommerce installation includes

Way no. 1: Use CSS to hide breadcrumbs

It is an easy way that many people can do. Most people think of this way first because you just find its exact class and hide it by the familiar css attribute display:none.

Way no. 2: remove breadcrumbs via php code

You get to the theme folder you are using, then find function.php file. You open this file and insert the code below in the last paragraph of the file. Save the file, then get back to the website, reload the website to check.

// Remove breadcrumbs from shop & categories

add_filter( ‘woocommerce_before_main_content’, ‘remove_breadcrumbs’);

functionremove_breadcrumbs() {

if(!is_product()) {

remove_action( ‘woocommerce_before_main_content’,’woocommerce_breadcrumb’, 20, 0);

}

}

If you are interested in Shopify, you should read the article Shopify product type. You can see the differences between product type in Shopify and Woocommerce.

We have solved the issue related to woocommerce hide breadcrumbs on the website. You can use any way you want. However, I suggest that you should use the second way which uses php code to add to the function file. If you have any problem, please leave a comment. We will support you for free.

 

woocommerce show attributes on shop page

Have you ever seen that the product list page displays product attributes such as color, and size? You see that it is so attractive but you do not know how to this. This article woocommerce show attributes on shop page will help you. Attributes are quite important as they are the criteria used to filter products. For instance, you filter products by color, or size, etc.

woocommerce show attributes on shop page
This article will guide you on doing the following things

Display attributes for each product on the shop page

Because we display attributes after displaying title, we use the following function woocommerce_shop_loop_item_title. You should see the code below to edit appropriately. Firstly, we just apply it to variant products. If they are not variant products, we do nothing. If products do not have any attribute, we also do not process.


functioniconic_available_attributes() {
global $product;
if ( ! $product->is_type( 'variable' ) ) {
return;
}
$attributes = iconic_get_available_attributes( $product );
if ( empty( $attributes ) ) {
return;
}
foreach ( $attributes as $attribute ) {
?>
<div class="iconic-available-attributes">
<p class="iconic-available-attributes__title"><?php _e( 'Available', 'iconic' ); ?><strong><?php echo $attribute['name']; ?></strong></p>
<ul class="iconic-available-attributes__values">
<?phpforeach ( $attribute['values'] as $value ) { ?>
<li class="iconic-available-attributes__value<?php echo $value['available'] ? '' : 'iconic-available-attributes__value--unavailable'; ?>"><?php echo $value['name']; ?></li>
<?php } ?>
</ul>
</div>
<?php
}
}
 
add_action( 'woocommerce_shop_loop_item_title', 'iconic_available_attributes', 20 );
  
Next, you continue to use the code below
functioniconic_get_available_attributes( $product ) {
static $available_attributes = array();
$product_id = $product->get_id();
if ( isset( $available_attributes[ $product_id ] ) ) {
return $available_attributes[ $product_id ];
}
$available_attributes[ $product_id ] = array();
$attributes = $product->get_variation_attributes();
if ( empty( $attributes ) ) {
return $available_attributes[ $product_id ];
}
$attributes_to_show = iconic_get_attributes_to_show();
foreach ( $attributes as $attribute => $values ) {
if ( ! in_array( $attribute, $attributes_to_show ) ) {
continue;
}
$available_attribute = iconic_get_available_attribute( $product, $attribute, $values );
if ( empty( $available_attribute ) ) {
continue;
}
$available_attributes[ $product_id ][] = $available_attribute;
}
return $available_attributes[ $product_id ];
}

Next, you use the following code. This function includes three parameters which are $product, $attrbute ,$value. They will return the following values
Slug: it is the slug of attribute,
Name : is the name of attribute
Values is the list of attributes including name and available

 
functioniconic_get_available_attribute( $product, $attribute, $values ) {
$available_attribute = array(
'slug' => $attribute,
);
if ( ! taxonomy_exists( $attribute ) ) {
$available_attribute['name'] = $attribute;
foreach ( $values as $value ) {
$available_attribute['values'][ $value ] = array(
'name'      => $value,
'available' =>iconic_has_available_variation( $product, $attribute, $value ),
);
}
return $available_attribute;
}
$taxonomy = get_taxonomy( $attribute );
$labels   = get_taxonomy_labels( $taxonomy );
$available_attribute['name']   = $labels->singular_name;
$available_attribute['values'] = array();
foreach ( $values as $value ) {
$term = get_term_by( 'slug', $value, $attribute );
if ( ! $term ) {
continue;
}
$available_attribute['values'][ $value ] = array(
'name'      => $term->name,
'available' =>iconic_has_available_variation( $product, $attribute, $value ),
);
}
return $available_attribute;
}
Finally, we use the following function to complete.

functioniconic_has_available_variation( $product, $attribute, $value ) {
$available_variation = false;
$attribute           = 'attribute_' .sanitize_title( $attribute );
$variations          = $product->get_available_variations();
 
if ( empty( $variations ) ) {
return $available_variation;
}
 
foreach ( $variations as $variation ) {
foreach ( $variation['attributes'] as $variation_attribute_name => $variation_attribute_value ) {
if ( $attribute !== $variation_attribute_name ) {
continue;
}
 
if ( $value !== $variation_attribute_value&& ! empty( $variation_attribute_value ) ) {
continue;
}
 
$available_variation = $variation['is_purchasable'] && $variation['is_in_stock'];
break;
}
 
if ( $available_variation ) {
break;
}
}
 
return $available_variation;
}
 

After adding function.php file to the theme folder, we will check the front end to see the result. After styling a little bit, we have the result as that at the beginning of this article.

There are some people adding these codes but still face woocommerce show attributes on shop page. They are products to which attributes are not added. Or this category just includes simple products.

Attributes of product have lots of applications in practice. Along with product type, they are used to perform products’ features which are more clearly than using description. Besides, based on the features, filtering products can be done. You could read this article for more information.

If you have any problem with woocommerce show attributes on shop page, please leave a feedback or contact us. We will support you to solve your problem.

shopify product types

shopify product types and collect is used to distinguish products. If your store contain lots od products, product type is used as a criterion in filtering products. Filtering products help customers to know if their favorite products are in stock or not.

Input product type

When creating product information, shopify product types can be inputted manually or getting information entered before by clicking on dropdown button as below

shopify product types

Display list off the unique shopifyproduct types

To display the list of product types, you could use the following code:

{% for product_type in shop.types %}
{{ product_type | link_to_type }}
{% endfor %}

You can refer to this link https://help.shopify.com/en/themes/liquid/objects/shop for more information.

Filter products by product type

Being different from other source codes, Shopify does not allow user as well as developers to intervene in the source code. Therefore, we cannot directly filter products by product type but use the product tag. The core of this method is filtering products by tag. And for each product, we have to add one tag which is the same as the product type.

Get to Product of Shopify, add one product tag which is the same as the product type. You should take a look at the figure below to understand more. This product has the product type “Coat” so we add the tag “Coat”. Similarly, we add tags for the rest products.

shopify product types

Get to collection-template.liquid file to add the code below

<!--add-->
<div style="float:left">
<h2>Filter by product type</h2>
<ul class="filter-list filter-text">
{% for product_type in collection.all_types %}
{% assign product_type_tag = product_type | handle %}
{% if product_type_tag != '' %}
{% if collection.all_tags contains product_type or collection.tags contains product_type %}
<li>
<a href="{{ product_type | handle }}">{{product_type}}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
<!----end add-->

In the debut theme, we have tested and add at line 143 at the moment. In the real project, you should customize or find the most suitable place to add.

shopify product types

Here is the result in front end.

shopify product types

You have read the article shopify product types and its application in filtering products. However, this article just guides you on filtering product by type. In the next article, we will introduce more product filter criteria. If you do not want to edit code, you could use Product filter app. This app has many criteria to filter. You do need to input them manually. This app will save your time and effort with drag and drop feature.

If you have any question, please let us know. We will help you solve your problem.

Prestashop Order Edit module

Prestashop Order Edit module is the tool launched to replace the Prestashop default feature which still has short comings. You save your times with bulk operations by one click. Duplicating, editing, adding and deleting order are extremely easy and simple.

Prestashop Order Edit module

Process orders in bulk

Have you ever wasted a lot of time to process a huge number of orders at the same time. If you have 100 orders, you have to open them 100 times, and print them. These operations repeat monotonically like that? Or you want to change the status of 90 or 100 orders, you have to open them, change their status and save them one by one if you use the default feature. How do you think if all the repeated tasks are done by one click? It is the reason why you should continue reading or finding more information about Prestashop Order Edit module.

Edit orders easily

After placing an order, your customers could send an email or take a call to ask you to edit the products, payments, and delivery, etc. This time you will feel that how beneficial Prestashop Order Edit module really is. Here is the list of things that the module supports to edit:

  • Product: You can add, delete fields such as name, quantity, price, and custom properties
  • Delivery: Edit suppliers who provide shipping services. You also can edit the delivery information, tax, cost and weight
  • Payment: You can edit the time of payment, the amount of payment, and the method of payment, etc.
  • Add, and edit voucher code
  • Edit reference code
  • Edit the payment address, delivery address without reloading the web page.

Duplicate an order

By this way, you can quickly create an order depending on an existing order. This feature may be helpful in case that it is an old customer calling you to order. You just need to open the old order of this customer and select the new products he has just ordered. In general, you can edit everything:

  • Edit products: Add, edit, delete existing products
  • Edit customers: Add new or use registered customers’ account
  • Edit delivery: Edit the methods of delivery
  • Edit payment: Edit the payment method
  • Edit order status: edit the order status of new customers

We have just run through order edit. If you are interested in this module, please get access to https://addons.prestashop.com/en/order-management/23748-order-edit.html to have a trial as well as test the module demo before purchasing. However, I think you should own this module if you are the people who respect time because its efficiency is much larger than its cost.

 

 

How to Properly Delete All WooCommerce Products

Have you ever thought that you will remove all the current products and import product the new ones?  To Delete All WooCommerce Products is extremely necessary at this moment. So far, woocommerce has not had a proper feature to do this task. If you have just 10 products, you can do it manually. But if you have 10.000 products, you have another thought. There are some fee-charging plugins but I have never used them. I have used some free plugins but they do not support you to delete taxonomy.

To me, deleting products by with database is quickest and simplest. If you follow this article, you may do it better than me because you just need to copy and click the “run” command.

Log inphpmyadmin

There are several ways to log in. You can get access to the link youdomain/phpminiadmin or use phpminiadmin.php. Or you can carry out in the cpanel of hosting. If you are not sure about this, you should contact your hosting supplier. If there is more than one database and you are not sure which database you are working with, you should open the database and get to wp_options. This table lets you know which url of the website the database is working on.

Or you can open wp-config.php file to check the corresponding database.

Run the SQL command

After defining the exact database, the first thing to do is back up the database because you may destroy your website accidentally. Next, you click on SQL as below

Delete All WooCommerce Products

DELETE relations.*, taxes.*, terms.*

FROM wp_term_relationships AS relations

INNER JOIN wp_term_taxonomy AS taxes

ON relations.term_taxonomy_id=taxes.term_taxonomy_id

INNER JOIN wp_terms AS terms

ON taxes.term_id=terms.term_id

WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type=’product’);

DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type = ‘product’);

DELETE FROM wp_posts WHERE post_type = ‘product’;

Delete All WooCommerce Products

Now, click on Go. All the products will be deleted. If it shows error, commonly it is due to your wrong prefix. The code uses default WordPresswp_. However, if you use automatic installation service of the hosting supplier, the code may be changed. You should check if the name of the table is right. On the left of the screen, it has the format of prefix_post, as wp_post by default. You should edit it properly.

The article Delete All WooCommerce Products ends here. If you have any question, please contact us. As we have mentioned, this solution is used when you want to import all new products. If you use Prestashop, you could try using Import product module here https://addons.prestashop.com/en/fast-mass-updates/27281-csv-import-products.html You can use the demo site before deciding to own this module. You are also provided with technical support by the support team when using it.

 

 

 

What is the difference between import and export

“ What is the difference between import and export ” is the question that many people are interested in. There are different answers in different fields which cause disputes between people. However, we can see the difference clearly when deeply studying this issue. Therefore, this article focuses on explaining to the readers so that you can understand well.

What is the difference between import and export

Firstly, we can understand that import is related to input while export is related to output. Experts in information technology have different perspectives with people work in financial and economic field.

From the perspective of information technology

Import is the process of information input. When we talk about software, the input information could be texts, media files such as music and film. Or you must have heard the phrase “import product”. This is the process you importing products information to database. Thousands of products can be imported in several minutes.

Export is the process of information output. In computer software, the export information could also be texts, and video files, etc. Similarly, exporting product is the process of outputting product information to excel, csv, xml, etc. It is to get these files to send to others who will use them to import information to their computer as the process above.

From the perspective of the economy

What is the difference between import and export ? It is not limited in the scope of a computer. Its meaning covers the scope of international.

Import is the process of local companies purchasing goods or services from other countries. The reasons import is that these kinds of products meet the demand of domestic users at reasonable prices. Or local enterprises do not have enough capacity to produce them due to out of date facilities or high manufacturing costs. Import turnover depends primarily on the exchange rate. If the domestic currency is stronger, you will buy more foreign currency. It means you will increase the import turnover.

Export is when local companies sell goods and services to others countries. It happens when the domestic manufacturing costs are lower. Or companies want to penetrate new markets and internationalize their products. Or maybe local consumers do not have demand for these kinds of products. The positive effect of export is that it reduces the issue of supply much more than demand within the country. As well as import, export is related to the exchange rate. If the domestic currency is weak, the exporter will get more when exchange foreign currency to domestic currency. Therefore they want to export more.

We have finished the article “ what is the difference between import and export ”. There may be many meanings in other fields but we stop here. Let us know if you have any comment. We are looking forward to hearing from you.

responsive mega menu complete set free download

Mega menu is becoming more and more popular however, not everyone knows how to create a mega menu. The normal menu just shows links and dropdowns. With a mega menu, you can display a list of best-selling products, images, and videos for the purpose of advertising. The article responsive mega menu complete set free download will guide you on how to create mega menus.

If you are using Mega menu module on Prestashop, you could be satisfied because your mega menu is fully responsive with all devices such as PC, laptop, tablets, and mobile phones. If you use Prestashop, you could get access to this link https://addons.prestashop.com/en/menu/29701-mega-menu-builder.html if this module is suitable and meets your requirements.

If your project is just built with html  and you want to see how it is, the article responsive mega menu complete set free download will support you.

Preparation

Prepare editor software and a commonly used web browser.

Implementation

Create a mega menu folder to contain files in your computer.

Step 1: Open the editor software. Create menu.html file with the following contents and save it.

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<scriptsrc="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<nav class="navbarnavbar-inverse">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".js-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">My Store</a>
</div>
 
<div class="collapse navbar-collapse js-navbar-collapse">
<ul class="navnavbar-nav">
<li class="dropdown mega-dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Men <span class="caret"></span></a>
<ul class="dropdown-menu mega-dropdown-menu">
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Men Collection</li>
<div id="menCollection" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active">
<a href="#"><img src="http://placehold.it/254x150/ff3546/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 1"></a>
<h4><small>Summer dress floral prints</small></h4>
<button class="btnbtn-primary" type="button">49,99 €</button><button href="#" class="btnbtn-default" type="button"><span class="glyphiconglyphicon-heart"></span> Add to Wishlist</button>
</div><!-- End Item -->
<div class="item">
<a href="#"><img src="http://placehold.it/254x150/3498db/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 2"></a>
<h4><small>Gold sandals with shiny touch</small></h4>
<button class="btnbtn-primary" type="button">9,99 €</button><button href="#" class="btnbtn-default" type="button"><span class="glyphiconglyphicon-heart"></span> Add to Wishlist</button>
</div><!-- End Item -->
<div class="item">
<a href="#"><img src="http://placehold.it/254x150/2ecc71/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 3"></a>
<h4><small>Denin jacket stamped</small></h4>
<button class="btnbtn-primary" type="button">49,99 €</button><button href="#" class="btnbtn-default" type="button"><span class="glyphiconglyphicon-heart"></span> Add to Wishlist</button>
</div><!-- End Item -->
</div><!-- End Carousel Inner -->
<!-- Controls -->
<a class="left carousel-control" href="#menCollection" role="button" data-slide="prev">
<span class="glyphiconglyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#menCollection" role="button" data-slide="next">
<span class="glyphiconglyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- /.carousel -->
<li class="divider"></li>
<li><a href="#">View all Collection <span class="glyphiconglyphicon-chevron-right pull-right"></span></a></li>
</ul>
</li>
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Features</li>
<li><a href="#">Auto Carousel</a></li>
<li><a href="#">Carousel Control</a></li>
<li><a href="#">Left & Right Navigation</a></li>
<li><a href="#">Four Columns Grid</a></li>
<li class="divider"></li>
<li class="dropdown-header">Fonts</li>
<li><a href="#">Glyphicon</a></li>
<li><a href="#">Google Fonts</a></li>
</ul>
</li>
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Plus</li>
<li><a href="#">Navbar Inverse</a></li>
<li><a href="#">Pull Right Elements</a></li>
<li><a href="#">Coloured Headers</a></li>
<li><a href="#">Primary Buttons & Default</a></li>
</ul>
</li>
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Much more</li>
<li><a href="#">Easy to Customize</a></li>
<li><a href="#">Calls to action</a></li>
<li><a href="#">Custom Fonts</a></li>
<li><a href="#">Slide down on Hover</a></li>
</ul>
</li>
</ul>
</li>
<li class="dropdown mega-dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Women <span class="caret"></span></a>
<ul class="dropdown-menu mega-dropdown-menu">
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Features</li>
<li><a href="#">Auto Carousel</a></li>
<li><a href="#">Carousel Control</a></li>
<li><a href="#">Left & Right Navigation</a></li>
<li><a href="#">Four Columns Grid</a></li>
<li class="divider"></li>
<li class="dropdown-header">Fonts</li>
<li><a href="#">Glyphicon</a></li>
<li><a href="#">Google Fonts</a></li>
</ul>
</li>
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Plus</li>
<li><a href="#">Navbar Inverse</a></li>
<li><a href="#">Pull Right Elements</a></li>
<li><a href="#">Coloured Headers</a></li>
<li><a href="#">Primary Buttons & Default</a></li>
</ul>
</li>
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Much more</li>
<li><a href="#">Easy to Customize</a></li>
<li><a href="#">Calls to action</a></li>
<li><a href="#">Custom Fonts</a></li>
<li><a href="#">Slide down on Hover</a></li>
</ul>
</li>
<li class="col-sm-3">
<ul>
<li class="dropdown-header">Women Collection</li>
<div id="womenCollection" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active">
<a href="#"><img src="http://placehold.it/254x150/3498db/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 1"></a>
<h4><small>Summer dress floral prints</small></h4>
<button class="btnbtn-primary" type="button">49,99 €</button><button href="#" class="btnbtn-default" type="button"><span class="glyphiconglyphicon-heart"></span> Add to Wishlist</button>
</div><!-- End Item -->
<div class="item">
<a href="#"><img src="http://placehold.it/254x150/ff3546/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 2"></a>
<h4><small>Gold sandals with shiny touch</small></h4>
<button class="btnbtn-primary" type="button">9,99 €</button><button href="#" class="btnbtn-default" type="button"><span class="glyphiconglyphicon-heart"></span> Add to Wishlist</button>
</div><!-- End Item -->
<div class="item">
<a href="#"><img src="http://placehold.it/254x150/2ecc71/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 3"></a>
<h4><small>Denin jacket stamped</small></h4>
<button class="btnbtn-primary" type="button">49,99 €</button><button href="#" class="btnbtn-default" type="button"><span class="glyphiconglyphicon-heart"></span> Add to Wishlist</button>
</div><!-- End Item -->
</div><!-- End Carousel Inner -->
<!-- Controls -->
<a class="left carousel-control" href="#womenCollection" role="button" data-slide="prev">
<span class="glyphiconglyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#womenCollection" role="button" data-slide="next">
<span class="glyphiconglyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- /.carousel -->
<li class="divider"></li>
<li><a href="#">View all Collection <span class="glyphiconglyphicon-chevron-right pull-right"></span></a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#">Store locator</a></li>
</ul>
<ul class="navnavbar-navnavbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">My account <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
<li><a href="#">My cart (0) items</a></li>
</ul>
</div><!-- /.nav-collapse -->
</nav>
</div>

Step2 :Create style.css file with the following contents and save it.


@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
body {
font-family: 'Open Sans', 'sans-serif';
}
.mega-dropdown {
position: static !important;
}
.mega-dropdown-menu {
padding: 20px 0px;
width: 100%;
boxshadow: none;
-webkit-box-shadow: none;
}
.mega-dropdown-menu > li >ul {
padding: 0;
margin: 0;
}
.mega-dropdown-menu > li >ul> li {
list-style: none;
}
.mega-dropdown-menu > li >ul> li > a {
display: block;
color: #222;
padding: 3px 5px;
}
.mega-dropdown-menu > li ul> li > a:hover,
.mega-dropdown-menu > li ul> li > a:focus {
text-decoration: none;
}
.mega-dropdown-menu .dropdown-header {
font-size: 18px;
color: #ff3546;
padding: 5px 60px 5px 5px;
line-height: 30px;
}
 
.carousel-control {
width: 30px;
height: 30px;
top: -35px;
 
}
.left.carousel-control {
right: 30px;
left: inherit;
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
font-size: 12px;
background-color: #fff;
line-height: 30px;
text-shadow: none;
color: #333;
border: 1px solid #ddd;
}

Step3 :Create js.js file with the following contents and save it.


$(document).ready(function(){
$(".dropdown").hover(
function() {
$('.dropdown-menu', this).not('.in .dropdown-menu').stop(true,true).slideDown("400");
$(this).toggleClass('open');
},
function() {
$('.dropdown-menu', this).not('.in .dropdown-menu').stop(true,true).slideUp("400");
$(this).toggleClass('open');
}
);
});
 

We have created a mega menu with html, javascript, and css together. As the meaning of the title responsive mega menu complete set free download, the menu has already created, you could download it. If you have any better way, please let us know by leaving a comment. Thanks for reading. Do not forget to share this article.

wordpress custom form save to database

The phrase wordpress custom form save to database is interested by lots of people. Almost simple contact forms are sent to the admin email address. But in fact, the data needed to be saved to the database. This article will guide you on how to do this in the simplest way.

To be easy for WordPress newbies, we will prioritize to use a plugin. Of course, you can write code yourself. However, for the suitability for every people, we will do the simplest things as below.

Preparation

  • WordPress: Absolutely, you need to have one website with WordPressalready installed or used on your computer.
  • Contact form 7: You must have been so familiar with it due to its popularity
  • Contact Form 7 Database: This is the plugin used to save data to the database when users submit information.

Implementation

In order to complete the process that wordpress custom form save to database, the first things to do is log in to the WordPress admin. You hover to Plugins and click on Add new.

wordpress custom form save to database

In the search box, you enter contact form 7. Then you install the plugin and make it active as below

wordpress custom form save to database

We so the similar thing with the plugin “contact form 7 database”

wordpress custom form save to database

Now, we will create a contact form by building fields. Contact form 7 is a very good form builder plugin which supports many types of input field such as text, image, file, checkbox, etc.

You can use the default form of contact form 7 to make a simple trial.

On all forms, there exist shortcodes. You just need to copy the shortcodes and paste on the post or page you want forms to be displayed.

wordpress custom form save to database

This article will help you add this code to the contact page

wordpress custom form save to database

add captcha  to a form in shopify 

After entering the information already, you click on Submit. If you use localhost but you have not installed sending email on the localhost, the system will show error. Don’t worry! After submitting, data has been saved to the database. We will get to the back end to check.

The plugin admin will display as below

wordpress custom form save to database

You click to view the detailed contents.

Here is the content in the example

wordpress custom form save to database

We have finished the article wordpress custom form save to database. If you have any question, please leave a comment. If you use Prestashop, you could use form builder module. This module supports you to drag and drop professionally. You just have to drag and drop the fields you want to display and save them. It supports responsive to be compatible with all devices. If you do not know how to use it, there are available guidance document as well as support team so that you can use it without minding.

Woocommerce how to show shipping fields

If you use WordPress to create e-commerce websites, you must have wondered Woocommerce how to show shipping fields. It is because when you install woocommerce, if you do not configure to install shopping, this field will not display in the checkout page.

Before installing, woocommerce only provides users with one payment address. Therefore, in the checkout page, if you want to add a shipping address, you need to carry out the following steps.

In the back office, you hover the cursor to Woocommerce and click on Settings as below

Woocommerce how to show shipping fields

Next, you click on Shopping as the figure below

Woocommerce how to show shipping fields

In Shipping Zones, click on Add shipping zone on the top left or in the bottom of the screen as the figure below

You input Zone name, zone regions. Then click to choose Add shopping method

Woocommerce how to show shipping fields

A screen shows up as below, you could choose a proper method and click on Add shipping method

Woocommerce how to show shipping fields

In edit section, you click on Edit to customize information related to this method.

Woocommerce how to show shipping fields

Here is the information you should input including the method, the cost of shipping method. The amount will be added to the total amount of the order. Then click on Save changes.

Woocommerce how to show shipping fields

Keep getting to Shipping option tab, select the second item then click on Save changes.

Woocommerce how to show shipping fields

Now you get back to the checkout page to check the result. If you follow the steps above, I am sure that it can work well.

Woocommerce how to show shipping fields

and now, form supports to save data to the database, you can check this in the order of woocommerce. If you have any problem related to woocommerce in general as well as Woocommerce how to show shipping fields in common, I think your problem is solved. Please contact us if you have any problem. We will support you for free.