1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 02-May-2024 10:29 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
Automate my timesheet creation in Excel 02-May-2024
09:57 GMT
Wooden photobooth cabin 02-May-2024
09:57 GMT
Stormy Twitch Stream Overlay -- 2
Category: Game Design, Graphic Design, JavaScript, Photoshop, PHP
Budget: $250 - $750 AUD
02-May-2024
09:53 GMT
(Drupal adhoc tasks) -- 2
Category: Drupal, PHP, Plugin
Budget: $30 - $250 USD
02-May-2024
09:53 GMT
Stormy Twitch Stream Overlay
Category: Game Design, Graphic Design, JavaScript, Photoshop, PHP
Budget: $250 - $750 AUD
02-May-2024
09:53 GMT
Twitch Overlay & Animation Design
Category: 3D Animation, After Effects, Animation, Graphic Design, Logo Design
Budget: $250 - $750 AUD
02-May-2024
09:53 GMT
Apparel Sourcing Assistance 02-May-2024
09:52 GMT
Simple "stop the clock" game 02-May-2024
09:52 GMT
I need PowerBI and Pipedrive to be connected to visualise data 02-May-2024
09:52 GMT
HELIUS, SOLANA, PYTHON SPECIALIST. 02-May-2024
09:52 GMT
UX Designer for Mobile App Figma Prototype - 02/05/2024 05:52 EDT
Category: Figma, Graphic Design, Rapid Prototyping, User Interface / IA, UX / User Experience
Budget: €250 - €750 EUR
02-May-2024
09:52 GMT
Construction Lead Generation via Cold Calling
Category: Internet Marketing, Leads, Marketing, Sales, Telemarketing
Budget: $2 - $8 USD
02-May-2024
09:52 GMT
Confirmis Part-Time Media & Litigation Researcher (Cambodia)
Category: Internet Research, Legal, Legal Research, Local Job, Research
Budget: $15 - $20 USD
02-May-2024
09:52 GMT
Product Data Copy from Manufacturer to My Site
Category: CSS, Data Entry, Data Processing, HTML
Budget: $30 - $250 USD
02-May-2024
09:52 GMT
Branding Copy 02-May-2024
09:51 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