Giter Site home page Giter Site logo

aftership / aftership-apps-woocommerce Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 22.0 3.29 MB

Add tracking number and carrier name, insert Track Button to order history page, and auto import tracking numbers from WooCommerce.

Home Page: https://www.aftership.com/apps/woocommerce

PHP 53.84% JavaScript 37.21% CSS 1.85% HTML 0.09% SCSS 1.04% TypeScript 5.97%

aftership-apps-woocommerce's Issues

Missing Plugin Localization

Hello,

I am missing a German translation for this plugin. Can you please provide one? Or you can provide me a .pot and I will translate the plugin myself.

.

.

Why doesn't AfterShip sync TO WooCommerce?

We use AfterShip to manage tracking numbers and provide shipment notices for multiple sales channels. We want to do the same for WooCommerce, but the way this plugin works doesn't make sense. The plugin requires that we manually add tracking information to WooCommerce and then sync those manually added tracking numbers back to AfterShip.

Wouldn't it make far more sense for the plugin to import tracking numbers FROM AfterShip and TO WooCommerce? All of the tracking information has already been added to AfterShip via API, so why not import that to WooCommerce?

Error 404 after woocommerce oauth - fixed by manually changing the url

After woocommerce oauth I am directed to a page with 404 error.

In order to complete the authorization I manually modified the link that gave error 404

This url started with
https: //mysite.com/wc-auth%2Fv1/access_granted/? .....
I manually changed it to
https: //mysite.com/wc-auth/v1/access_granted/? .....

and it worked

Please consider adding Pre/Post formatting options for track_message text for emails, even if just basic html tags.

The tracking message inserted into the emails when sent to clients should be customizable to stand out more for readability.

The way the code is currently setup, the only way I can change text format for the aftership strings is by editing the aftership.php

Having an formatting option (Pre / Post) for each track_message would be super helpful. Even if just to be able to put

<h1></h1>

$track_message_1 = $options['track_message_1'];
$track_message_2 = $options['track_message_2'];
.................
echo $track_message_1 . $values['aftership_tracking_provider_name'] . '
' . $track_message_2 . $values['aftership_tracking_number'] . $required_fields_msg;

screen_icon is deprecated since version 3.8.0 with no alternative available

Query Monitor is showing the following notice when using the AfterShip plugin for WooCommerce:

Notice : screen_icon is deprecated since version 3.8.0 with no alternative available.

wp-includes/functions.php:3842	
do_action('settings_page_aftership-setting-admin')
wp-admin/admin.php:224
AfterShip_Settings->create_admin_page()
wp-includes/class-wp-hook.php:286
screen_icon()
plugins/aftership-woocommerce-tracking/class-aftership-settings.php:92

Notification at the top of every Wordpress admin page

I am getting the following notification on the top of every page in WordPress:

[AfterShip] Connect your Woocommerce store to provide the best post-purchase experience to drive customer loyalty and additional sales. Let's get started >>

When I click the "Let's get started" link and login to Automizely I get a 404 error.

Also, I already have my website connected with Aftership. How do I get rid of this message? Clicking the X close button only dismisses it. As soon as I refresh or go to a different page the same message returns.

API Warning

2018-07-11 16:41:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP message: PHP Warning: Illegal string offset 'tracking_number' in /var/www/dicebard/wp-content/plugins/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 277
2018-07-11 16:41:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP message: PHP Warning: Illegal string offset 'custom_tracking_provider' in /var/www/dicebard/wp-content/plugins/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 278
2018-07-11 16:41:42: (response.c.128) Response-Header:

These are warnings, but they come up while I track down another bug I might open a ticket on if I can't solve it.

barely visible tracking information in emails

was it purposely made that the text added to the email is so small and tiny and invisible to customers that they keep calling and emailing about their shipments?

why not make it bigger and more visible? and add a "Track it" link, preferably one that allow us to redirect them to a URL of our choice, rather then some poorly made post website like our own (israel)

like the attached maybe?
`


Tracking Information

<table class="shop_table shop_table_responsive yqtrack_tracking" style="width: 100%; border-collapse: collapse;">
	<thead>
		<tr>
			<th style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: px; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Carrier</th>
			<th style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: px; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Tracking number</th>
			<th style="text-align: center; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: px; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"></th>
		</tr>
	</thead>
	<tbody><tr>
				<td style="font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: px; color: #737373; border: 1px solid #e4e4e4; padding: 12px; text-align: center;">
                Israel Post					</td>
				<td style="font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: px; color: #737373; border: 1px solid #e4e4e4; padding: 12px; text-align: center;">
					EE005482300IL					</td>
				<td style="font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: px; color: #737373; border: 1px solid #e4e4e4; padding: 12px; text-align: center;">
													<a href="//t.17track.net#nums=EE005482300IL&amp;fc=09061" target="_blank" class="button" style="color: #557da1; font-weight: normal; text-decoration: underline;">Track</a>
						
				</td>
			</tr></tbody>
</table>
</section>

Clipboard01
`
you can see in the preview under the table, the current invisible text

PHP Warning: Illegal string offset 'custom_tracking_provider' (and others)

Seeing these in debug.log:

PHP Notice: Undefined variable: tn in /var/www/wordpress/extensions/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 269
PHP Notice: Uninitialized string offset: 0 in /var/www/wordpress/extensions/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 274
PHP Warning: Illegal string offset 'tracking_number' in /var/www/wordpress/extensions/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 277
PHP Notice: Uninitialized string offset: 0 in /var/www/wordpress/extensions/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 277
PHP Warning: Illegal string offset 'custom_tracking_provider' in /var/www/wordpress/extensions/aftership-woocommerce-tracking/api/class-aftership-api-orders.php on line 278

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.