[av_section min_height=” min_height_px=’500px’ padding=’default’ shadow=’no-shadow’ bottom_border=’no-border-styling’ bottom_border_diagonal_color=’#333333′ bottom_border_diagonal_direction=” bottom_border_style=” id=” color=’main_color’ custom_bg=” src=’https://igor-b.comwp-content/uploads/2015/04/programming-and-code-13_www.FullHDWpp.com_-1500×630.jpg’ attachment=’630′ attachment_size=’full’ attach=’fixed’ position=’top center’ repeat=’contain’ video=” video_ratio=’16:9′ overlay_opacity=’0.5′ overlay_color=” overlay_pattern=” overlay_custom_pattern=” av_element_hidden_in_editor=’0′]
[av_one_fifth first min_height=’av-equal-height-column’ vertical_alignment=’av-align-middle’ space=” margin=’0px’ margin_sync=’true’ padding=’0px’ padding_sync=’true’ border=” border_color=” radius=’0px’ radius_sync=’true’ background_color=” src=” attachment=” attachment_size=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_display=”]

[av_image src=’https://igor-b.comwp-content/uploads/2017/03/logo-w.png’ attachment=’746′ attachment_size=’full’ align=’left’ styling=’no-styling’ hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=”][/av_image]

[/av_one_fifth][av_four_fifth min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ padding=’0px’ border=” border_color=” radius=’0px’ background_color=” src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_display=”]

[av_textblock size=” font_color=’custom’ color=’#ffffff’ admin_preview_bg=”]

Documentation

[/av_textblock]

[/av_four_fifth]
[/av_section]

[av_section min_height=” min_height_px=’500px’ padding=’default’ shadow=’no-shadow’ bottom_border=’no-border-styling’ bottom_border_diagonal_color=’#333333′ bottom_border_diagonal_direction=” bottom_border_style=” id=” color=’main_color’ custom_bg=’#ffffff’ src=” attachment=” attachment_size=” attach=’fixed’ position=’top center’ repeat=’stretch’ video=” video_ratio=’16:9′ overlay_opacity=’0.5′ overlay_color=’#ffffff’ overlay_pattern=” overlay_custom_pattern=” av_element_hidden_in_editor=’0′]
[av_two_fifth first min_height=” vertical_alignment=’av-align-top’ space=” margin=’0px’ margin_sync=’true’ padding=’0px’ padding_sync=’true’ border=” border_color=” radius=’0px’ radius_sync=’true’ background_color=’rgba(255,255,255,0.5)’ src=” attachment=” attachment_size=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_display=”]

[av_icon_box position=’left_content’ icon_style=’av-icon-style-no-border’ boxed=” icon=’ue925′ font=’entypo-fontello’ title=’iB eBlomster Subscription’ link=” linktarget=” linkelement=” font_color=” custom_title=” custom_content=” color=” custom_bg=” custom_font=” custom_border=” admin_preview_bg=”]
WordPress Plugin
[/av_icon_box]

[av_textblock size=” font_color=” color=” admin_preview_bg=”]
iB eBlomster Subscription – WP Plugin make ability possible to order delivery once a week (same day), once every two weeks (same day), once every four weeks. for the site “eBlomster
[/av_textblock]

[/av_two_fifth][av_two_fifth min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ padding=’0px’ border=” border_color=” radius=’0px’ background_color=” src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_display=”]

[av_image src=’https://igor-b.comwp-content/uploads/2017/03/eblomster-logo.png’ attachment=’868′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=”][/av_image]

[/av_two_fifth][av_one_fifth min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ padding=’0px’ border=” border_color=” radius=’0px’ background_color=” src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_display=”]

[av_image src=’https://igor-b.comwp-content/uploads/2017/03/Christmas_Large.jpg’ attachment=’857′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=”][/av_image]

[/av_one_fifth]
[/av_section]

[av_one_full first min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ padding=’0px’ border=” border_color=” radius=’0px’ background_color=” src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_display=”]
[av_toggle_container initial=’0′ mode=’accordion’ sort=”]
[av_toggle title=’What is Subscription Orders in the WooCommerce flow?’ tags=”]
The Woocommerce Order “Subscription” is a normal order which generated by Woocommerce but with few custom metadata:

These metadata contains:
ib_subscription
Can contain string “disable” if customer clicked at the button “Single Bouquet” or “active” if customer clicked at the button “Gift Subscription” on the Checkout section “Order Details”.

ib_frequency
Can be empty if Subscription disabled, or can contain “ib_weekly”, “ib_fortnightly”, “ib_monthly” if customer will click at these buttons “Weekly”, “Fortnightly”, “Monthly”. Default data = “ib_weekly” when ib_subscription contain “active”.

ib_term
Can be empty if Subscription disabled, or can contain “ib_three_months”, “ib_six_months”, “ib_twelve_months”, “ib_ongoing” if customer will click at these buttons “3 Months”, “6 Months”, “12 Months”, “On-going”. Default data = “ib_three_months” when ib_subscription contain “active”. The button “On-going” can be hidden by switch to “OFF” by the switcher “Activation of the On-Going option” in the Plugin Option Page “eBlomster Subscription Options”, tab “General Settings” – http://development.eblomster.dk/wp-admin/admin.php?page=_options&tab=0

ib_multiplier
Can be empty if Subscription disabled, or can contain result of calculation of ( ib_frequency x ib_term ) E.g. if ib_frequency = ib_weekly and ib_term = ib_three_months then ib_frequency x ib_term = 4 x 3 = 12 … ib_frequency = 12
[/av_toggle]
[av_toggle title=’How the system generates a Subscription Orders?’ tags=”]
When customer will click at the button “Gift Subscription” then the plugin will open session of the customer and will store there custom metadata:

And will automatically apply the Discount Coupon with name “SubScriptionDiscountCode”. This Coupon should be already created in the Woocommerce Coupons section – http://development.eblomster.dk/wp-admin/edit.php?post_type=shop_coupon

Then the cart will be updated for new amount of products in the cart and sum will include discount from the coupon.

All these metadata can be changed or/and Subscription can be disabled again by clicking at the button “Single Bouquet”.

New amount of the Order will updated in the Checkout section “Order Details” (img. 001)

img. 001

After completing Checkout process and clicking at the last button “Continue” in the section “Your Order” (in the bottom of the Checkout page) this customer will redirected to Payment page. And in this time the Woocommerce will generate a usual  Order. And the plugin “iB eBlomster Subscription” will copy all custom metadata from the customer session of the Cart to Woocommerce Order (ib_subscription, ib_frequency, ib_term, ib_multiplier) with identical names for each of metadata. And will reset all these data in the customer session.

At the moment the order will get status “Pending Payment”. And this Order will have mark that it is Subscription Order. Let’s name it “Parent Subscription Order”. It will be first and single order from the series of orders in this Subscription.
[/av_toggle]
[av_toggle title=’Where are placed Subscription Orders?’ tags=”]
Each of Subscription Orders stored in the Orders page (Woocommerce -> Orders) Each “Parent Subscription Order” was marked by icon “black star”. (img. 003)

img. 002

If/when customer will complete payment successfully, then this Order will get status “Processing”. The plugin will waiting for changing the status of order to “Processing”. At this moment the plugin will generate all required Orders for each of delivery date, beginning from first delivery date which customer selected in the Checkout Page. (img. 003)

img. 003

Now in the Woocommerce Orders flow have all Orders for each of delivery date. These orders generated automatically when the “Parent Subscription Order” was paid and order status was changed to Processing. All these orders was marked by white star.(img. 003) Let’s name all these orders – “Child Subscription Orders”.

Each of these orders “Parent Subscription Order” and “Child Subscription Orders” created as a normal Woocommerce Orders. “Child Subscription Orders” was generated by copying all data from “Parent Subscription Order”. Only amount of products in these orders was divided for amount of all orders in this Subscription.

And each of these Each of these “Child Subscription Orders” was created for each next Delivery Date which was calculated by customer settings.
[/av_toggle]
[av_toggle title=’How to manage Subscription Order?’ tags=”]
When in the system will be generated a lot of Subscription Orders, then you can find Parent Subscription Order for each of Child Subscription Order in two variants:
1. by mouse hover to square icon in column “Customer Messages”. Each these icon will have tips with ID of Parent Subscription Order (img. 001)

img. 001

2. when you will opened Child Subscription Order then you will see Section “Subscription Details” and Notification in the sidebar section Order Notes. “Subscription: attached” means that this is Child Subscription Order. In the “Order Notes” (right sidebar) you will find ID of Parent Subscription Order with link to the Parent Subscription Order.(img. 002)

img. 002

All Subscription Orders have the same regular options as normal Woocommerce Orders.

Each of Subscription Orders can be marked as Completed and then customer will get email-notification about it.

All these Orders have the similar time-marks and can be sortable in the list of Orders in the Woocommerce.

Each of these Parent Subscription Order have a details of Subscription. (img. 003)

img. 003

Subscription Order can be printed as usual Order. Can be printed Card Message… and will used other functions in the Woocommerce.
[/av_toggle]
[av_toggle title=’Payment for Subscription Order.’ tags=”]
Regular Subscription Order should be paid only once. It should be done when the Checkout page redirect customer to Payment Page. (img. 001)

img. 001

After payment was completed and all Child Subscribe Orders was generated automatically – all these Child Subscription Orders defined as Paid and have status “Processing”. Customer will see the Confirmation Page that the Order was received and ready to Processing for Shipping. In this Confirmation will display all data as for usual Order. (img. 002)

img. 002

[/av_toggle]
[av_toggle title=’Manually creating Subscribe Order’ tags=”]
You can initiate changing of the Pending Payment status to Processing in the Woocommerce Orders page. When the Parent Subscription Order will be created in the system and it will still in the status “Pending Payment” – then you can click at the button (with three dots) “Processing”… and it will change status for this Order to Processing and will initiate auto-generating for all required Child Subscription Orders. (img. 001)

img. 001

[/av_toggle]
[av_toggle title=’Ongoing Subscription Order in the Woocommerce flow’ tags=”]
Instruction coming soon …
[/av_toggle]
[/av_toggle_container]
[/av_one_full]