Skip to content

Commit

Permalink
Merge pull request #25 from pathao-eng/main
Browse files Browse the repository at this point in the history
Release 1.1.5
  • Loading branch information
sagar290 authored Apr 23, 2024
2 parents b6f3d39 + 01d0aca commit d3a0a63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/ptc-admin-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jQuery(document).ready(function ($) {
recipient_zone: +$('#zone').val() || 0,
recipient_area: +$('#area').val() || 0,
item_description: $('#ptc_wc_item_description').val() || '',
special_instruction: $('#ptc_wc_special_instruction').val() || '',
amount_to_collect: $('#ptc_wc_order_price').val(),
store_id: +$('#store').val() || 0,
delivery_type: $('#ptc_wc_delivery_type').val(),
Expand Down
2 changes: 1 addition & 1 deletion pathao-courier.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Plugin Name: Pathao Courier
* Description: Pathao Courier plugin for WooCommerce
* Version: 1.1.4
* Version: 1.1.5
* Author: Pathao
* Text Domain: pathao-courier
* Requires at least: 6.0
Expand Down
2 changes: 2 additions & 0 deletions wc-order-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ function ptc_render_store_modal_content()
');

$itemDescription = render_form_group('Note', '<textarea id="ptc_wc_item_description" name="item_description"></textarea>');
$specialInstruction = render_form_group('Special Instruction', '<textarea id="ptc_wc_special_instruction" name="special_instruction"></textarea>');


echo
Expand Down Expand Up @@ -177,6 +178,7 @@ function ptc_render_store_modal_content()
' . $deliveryType . '
' . $itemType . '
' . $itemDescription . '
' . $specialInstruction . '
</div>
</div>
<button id="ptc-submit-button" type="button">Send with Pathao Courier</button>
Expand Down

0 comments on commit d3a0a63

Please sign in to comment.