Skip to content

Commit

Permalink
Merge pull request #7 from appticles/search-and-bug-fixes
Browse files Browse the repository at this point in the history
Search and bug fixes
  • Loading branch information
anghelalexandra authored Aug 28, 2018
2 parents 5f147cb + a934e24 commit 56184b7
Show file tree
Hide file tree
Showing 49 changed files with 2,021 additions and 437 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
PWACommerce - WooCommerce Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps
=================
# PWACommerce - WooCommerce Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps

Turn your [WooCommerce](https://woocommerce.com/) site into a [Progressive Web App](http://pwacommerce.com)!

DEMO: [https://pwa-woo.wpmobilepack.com](https://pwa-woo.wpmobilepack.com)

                ![demo](http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/rLAB49Z.gif)                 ![demo](http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/GdyeKjo.gif)                 ![demo](http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/3AUek71.gif)        

                ![demo](http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/rLAB49Z.gif)                 ![demo](http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/GdyeKjo.gif)                 ![demo](http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/3AUek71.gif)        

Requires at least: **WordPress 4.8**

Tested up to: **WordPress 4.9.6**

Stable tag: **0.1**
Stable tag: **0.5**

WooCommerce mobile plugin to package your online store into a Progressive Web App. Multiple WooCommerce Mobile App Themes Available.

This plugin is also available in the WordPress repository: https://wordpress.org/plugins/pwacommerce/

## Description

PWACommerce is a mobile plugin that helps you transform your WooCommerce shop into a progressive mobile web application. It comes with multiple ecommerce app themes that you can purchase individually or as a bundle.

PWACommerce is supported on iOS and Android smartphones and tablets. Compatible browsers: Safari, Google Chrome, Android – Native Browser.
Expand All @@ -41,7 +40,6 @@ Some of the key features of progressive web apps are:

- **Analytics**. PWACommerce easily integrates with Google Analytics.


PWACommerce also comes with a **PRO version** suitable for online stores that want to take full advantage of the Progressive Web App technology and increase engagement and conversions. Some of the benefits of using the PRO edition are:

- **Offline Mode**. The app's shell and content is cached using service workers. Categories and products are saved in the browser’s local storage while your users navigate through the app, together with products added to the shopping cart. This offers a full app-like experience to your users, allowing them to continue using the app even when they don't have a network connection.
Expand Down
29 changes: 17 additions & 12 deletions admin/pages/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
<h2 class="theme-name">Default Theme</h2>
</div>
</div>
<div class="spacer-10"></div>
<h2>General Settings</h2>
<hr class="separator" />
<form name="pwacommerce_settings_form" id="pwacommerce_settings_form" action="<?php echo admin_url( 'admin-ajax.php' ); ?>?action=pwacommerce_settings" method="post">
<label class="textinput">Google Analytics ID:</label>
Expand All @@ -52,8 +54,8 @@
id="pwacommerce_settings_analyticsid"
value="<?php echo esc_attr($analytics_id); ?>"
placeholder="UA-xxxxxx-01"
>
</input> <br/>
/>
<br/>
<p class="field-message error" id="error_analyticsid_container"></p>
<div class="spacer-10"></div>
<input type="hidden" name="pwacommerce_settings_service_worker_installed" id="pwacommerce_settings_service_worker_installed" value="<?php echo esc_attr($service_worker_installed);?>" />
Expand All @@ -63,7 +65,7 @@
<a href="javascript:void(0)" id="pwacommerce_settings_send_btn" class="button button-primary button-large">Save</a>
</form>
<div class="spacer-10"></div>
<h2>Woocommerce Keys</h2>
<h2>WooCommerce Keys</h2>
<hr class="separator" />
<form name="pwacommerce_wookeys_form" id="pwacommerce_wookeys_form" action="<?php echo admin_url( 'admin-ajax.php' ); ?>?action=pwacommerce_wookeys" method="post">
<p class="field-message error" id="error_consumerkey_container"></p>
Expand All @@ -75,8 +77,8 @@
id="pwacommerce_wookeys_consumerkey"
value="<?php echo $consumer_key == '' ? esc_attr($consumer_key) : "*******************************************" ?>"
placeholder="ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
>
</input> <br/>
/>
<br/>
<p class="field-message error" id="error_consumersecret_container"></p>
<div class="spacer-10"></div>
<label class="textinput">Consumer Secret:</label>
Expand All @@ -86,15 +88,18 @@
id="pwacommerce_wookeys_consumersecret"
value="<?php echo $consumer_secret == '' ? esc_attr($consumer_secret) : "*******************************************" ?>"
placeholder="cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
>
</input> <br/>
/>
<br/>
<p class="field-message error" id="error_consumersecret_container"></p>
<div class="spacer-10"></div>
<a href="javascript:void(0)" id="pwacommerce_wookeys_send_btn" class="button button-primary button-large">Save</a>
</form>
<h2>Add To Homescreen Icon</h2>
<h2>Add to Homescreen Icon</h2>
<hr class="separator" />
<p>Add an icon(<strong>jpg, jpeg, png, gif</strong>) so that customers will be prompted to add your app to their homescreen.</p>
<p>
Add an icon(<strong>jpg, jpeg, png, gif</strong>) so that customers will be prompted to add your app to their homescreen.<br/><br/>
After the icon is added, copy the 'sw.js' file which is located in the 'pwacommerce' plugin directory to the root of your domain '/' using FTP and make sure to enable the <strong>Service Worker Installed</strong> checkbox from the <strong>General Settings</strong> section.
</p>
<form name="pwacommerce_editimages_form" id="pwacommerce_editimages_form" action="<?php echo admin_url('admin-ajax.php'); ?>?action=pwacommerce_editimages&type=upload" method="post" enctype="multipart/form-data">

<!-- upload icon field -->
Expand Down Expand Up @@ -140,17 +145,17 @@
</div>
<hr class="separator" />
<div align="center">
<h2>Pre-Order WooCommerce Progressive Web App PRO Now & Save Big!</h2>
<h2>Order WooCommerce Progressive Web App PRO Now!</h2>
<p>&#9989; 3 Domain Licenses &#9989; Unlimited Web Push Notifications &#9989; 12 Months Priority Support & Product Updates</p>
<table> <tbody> <tr> <td><a href="http://pwacommerce.com/downloads/progressive-web-app-for-woocommerce-pro/"><img class="aligncenter" src="http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/rLAB49Z.gif" alt="demo"></a></td> <td><a href="http://pwacommerce.com/downloads/progressive-web-app-for-woocommerce-pro/"><img class="aligncenter" src="http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/GdyeKjo.gif" alt="demo"></a></td> <td><a href="http://pwacommerce.com/downloads/progressive-web-app-for-woocommerce-pro/"><img class="aligncenter" src="http://d3oqwjghculspf.cloudfront.net/github/pwa-theme-woocommerce/3AUek71.gif" alt="demo"></a></td> </tr> </tbody> </table>

<ul>
<li><strong>&#9758; WEB PUSH NOTIFICATIONS &#9756;</strong> <br/> <p>Remind or re-engage your mobile users even after they leave your app. Web push notifications can help you increase engagement by 4X and those users spend twice as much time on the app.</p></li>
<li><strong>&#9758; IMPROVED CONVERSIONS &#9756;</strong> <br/> <p>Alibaba.com is the world’s largest online business-to-business (B2B) trading platform, serving 200+ countries and regions. After upgrading their site to a Progressive Web App (PWA), they saw a 76 percent increase in total conversions across browsers.</p></li>
<li><strong>&#9758; OFF-LINE MODE &#9756;</strong> <br/> <p>53% of users will abandon a site if it takes longer than 3 seconds to load! The mobile app theme responds quickly to user interactions with silky smooth animations and no janky scrolling</p></li>
<li><strong>&#9758; OFFLINE MODE &#9756;</strong> <br/> <p>53% of users will abandon a site if it takes longer than 3 seconds to load! The mobile app theme responds quickly to user interactions with silky smooth animations and no janky scrolling</p></li>
</ul>

<a href="http://pwacommerce.com/downloads/progressive-web-app-for-woocommerce-pro/" id="pwacommerce_settings_send_btn" class="button button-primary button-large">Pre-Order PRO Now</a>
<a href="http://pwacommerce.com/downloads/progressive-web-app-for-woocommerce-pro/" id="pwacommerce_settings_send_btn" class="button button-primary button-large">Order PRO Now</a>
</div>
</div>
<div class="right-side">
Expand Down
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"name": "PWAcommerce",
"description": "",
"version": "0.1",
"version": "0.5",
"autoload": {
"classmap": ["core/", "admin/", "frontend/", "includes/"]
"classmap": [
"core/",
"admin/",
"frontend/",
"includes/"
]
},
"require": {
"php": ">=5.4.0",
"automattic/woocommerce": "^1.3",
"automattic/woocommerce": "^2.0",
"mobiledetect/mobiledetectlib": "^2.8"
}
}
28 changes: 15 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
define( 'PWACOMMERCE_SHORT_NAME', 'PWAcommerce' );
define( 'PWACOMMERCE_DOMAIN','pwacommerce' );
define( 'PWACOMMERCE_PLUGIN_PATH', WP_PLUGIN_DIR . '/' . PWACOMMERCE_DOMAIN . '/' );
define( 'PWACOMMERCE_VERSION', '0.1');
define( 'PWACOMMERCE_VERSION', '0.5');
define( 'PWACOMMERCE_SUBSCRIBE_PATH', 'https://wpmobilepack.com/mailing-list/subscribe' );


Loading

0 comments on commit 56184b7

Please sign in to comment.