1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 29-Mar-2024 11:39 GMT
View Project
View this project in detail (Note: you will be redirected to external marketplace)
Project title: Transaction Customization for Woocommerce Subscriptions
Posted by: External project from PeoplePerHour
Started: 15-May-2023 11:48 GMT
Description: Expected duration: 1 - 2 weeks
We are running a Woocommerce store and sell subscriptions using the Woocommerce Subscriptions plugin. The task we are trying to accomplish is combining two, currently separate transaction types (Resubscribe or Renewal & Switch), into one process.

Each of our subscriptions has several variations, with different pricing for each. We have many customers who are happy with their subscription and wish to renew at the end of their term, but oftentimes wish to change to a different subscription variation at the same time. Currently, this can only be done as two separate checkout processes and the customer must first renew or resubscribe, and then do a subscription switch as a second process.

Progress to this point:
Using Woocommerce actions and filters (specially hooking woocommerce_add_cart_item_data) we were able to make it work for a subscription switch , so:

1) We have implemented in the checkout page a form to allow the user to change the product in the cart using wp_ajax_woocommerce_ajax_add_to_cart
2) If the user wants to change the product assigned to the variable subscription during the switch checkout, we clean the existing cart (because we only allow 1 product purchase per order) and we add the newly selected product and variation to the cart via ajax
3) After that, we use the hook woocommerce_add_cart_item_data to overwrite the array $cart_item_data['subscription_switch’] which stores: subscription_id, item_id, next_payment_timestamp and upgraded_or_downgraded
4) The process looks like is working well after a couple of tests.

The problem we have found is that a similar process is not working for the resubscribe process, because looks like the $cart_item_data[’subscription_resubscribe’] array data does not include the ‘item_id’ so we cannot assign a new item product to the existing subscription (which is also expired, because is a resubscribe operation).

We are also using the plugin Calculated Fields Form (https://wordpress.org/plugins/calculated-fields-form/) for the pricing table design which will need to be considered.
Project ID: 3325865
Project category:
Project budget:
View this project in detail (Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Scanned PDF typed into Spreadsheet
Category: Copy Typing, Data Entry, Data Processing, Excel, Transcription
Budget: $10 - $30 CAD
29-Mar-2024
11:04 GMT
Detailed Kitchen 3D Model Design
Category: 3D Animation, 3D Design, 3D Modelling, 3D Rendering, 3ds Max
Budget: £174 - £175 GBP
29-Mar-2024
11:03 GMT
Urgent: Cartoon-Style Comic Artist Needed
Category: Arts & Crafts, Caricature & Cartoons, Concept Design, Illustration
Budget: €2 - €6 EUR
29-Mar-2024
11:02 GMT
CSS Repair on WordPress Layout
Category: CSS, HTML, PHP, Web Design, WordPress
Budget: £10 - £20 GBP
29-Mar-2024
11:02 GMT
Product Details Web Data Scraping
Category: Data Mining, Excel, Python, Web Scraping
Budget: ₹750 - ₹1250 INR
29-Mar-2024
11:00 GMT
Event Bartender Needed for 50 Guests
Category: Copy Typing, Customer Support, Data Entry, Virtual Assistant, Web Search
Budget: $30 - $250 SGD
29-Mar-2024
11:00 GMT
Virtual Assistant for Document Transcription
Category: Copy Typing, Data Entry, Excel, Transcription, Virtual Assistant
Budget: $15 - $25 USD
29-Mar-2024
11:00 GMT
Advanced Excel Tabulation
Category: Data Entry, Data Processing, Excel, Microsoft Office, Visual Basic
Budget: €30 - €250 EUR
29-Mar-2024
11:00 GMT
Dokończenie strony - PHP/ CodeIgniter 3
Category: Codeigniter, CSS, MySQL, PHP, Web Design
Budget: $1000 - $5000 USD
29-Mar-2024
10:58 GMT
customization a wordpress payment gateway plugin
Category: CSS, HTML, PHP, Web Design, WordPress
Budget: $30 - $250 USD
29-Mar-2024
10:57 GMT
Pet Tracker: Bluetooth-Based Subscription App
Category: Android, IPad, IPhone, Mobile App Development, Objective C
Budget: $30 - $250 AUD
29-Mar-2024
10:57 GMT
Survey Form Validation JavaScript Script
Category: CSS, HTML, JavaScript, JQuery / Prototype, PHP
Budget: €250 - €750 EUR
29-Mar-2024
10:55 GMT
Opensearch Implementation For Detailed PDF Mining
Category: Elasticsearch, Generative AI, JavaScript, PHP
Budget: $10 - $30 USD
29-Mar-2024
10:55 GMT
I need two customised audio backdrops samples 29-Mar-2024
10:41 GMT
Player statistics website 29-Mar-2024
10:41 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Short URL:
1001fp.com
Mobile version:
m.1001freelanceprojects.com
Copyright © 2005-2022 1001 Freelance Projects