Закрыт

Functions review/development for integration through REST API (WordPress, WooCommerce, and WPML)

[login to view URL]

We have developed relevant functions for tapping into relevant hooks as described in the document. We decided to merge the Product and Product Variant calls and only use Product REST API calls for the base language.

Within the rest API hook of the product POST/PUT rest API calls, we extract the product translation content and the variants. The function is responsible for

- creating/updating the variants of the product in the main language

- creating/updating the main product translation

- links the translated product to the main language product

- re-synchronizes variant product data (creates missing variant translations, updates variant translations: stock, price, weight, dimensions, SKU, descriptions)

In order to accomplish the above and make it work successfully, it seems that the cache needs to be cleared correctly (concerning the product and product variants that are being updated/created). WPML and Woocommerce (along with the object cache from pressable hosting) seem to store things in the cache that we could not find that keep messing with the correct update of translated variants. Because of this, we ended up using the wp_flush_cache() function at the start of our hook function. As you can understand, this can lead to performance issues of the eshop.

We would like a WPML/Woocommerce expert to review our functions for refactoring and improving the code of our function where necessary. Most importantly, we would like to avoid having to use wp_flush_cache() for every product update, so we need a solution to this problem as well.

Functions code can be provided. We are testing using Postman/Insomnia calls.

Навыки: WordPress, PHP, WooCommerce, Архитектура ПО, JavaScript

О клиенте:
( 4 отзыв(-а, -ов) ) Gaza, Palestinian Territory

ID проекта: #34775384

36 фрилансеров(-а) готовы выполнить эту работу в среднем за $152

(748 отзывов(-а))
9.4
sapnathakur14

Hello, Greetings! I read your job description completely, and I found my skills relevant to your project. I am an Expert WordPress Developer with over 7 years of experience.I build custom themes and plugins for WordPr Больше

$250 CAD за 7 дней(-я)
(159 отзывов(-а))
8.0
mascotindia123

Hello, Hope you're doing well. I have read your project description regarding "Functions review/development for integration through REST API (WordPress, WooCommerce, and WPML)" & it can be done as I'm an expert havin Больше

$140 CAD за 7 дней(-я)
(319 отзывов(-а))
7.7
(162 отзывов(-а))
7.4
topithub

Hi, how are you? Can we discuss in detail? I believe I could swiftly surpass your expectations for this role. I look forward to discussing your needs and what I can offer in further detail. Thank you for your consider Больше

$180 CAD за 2 дней(-я)
(42 отзывов(-а))
7.1
saubhagyamweb

Hii There, I have read your requirements and I am glad to inform you that I have relevant 6+ strong experience in this field and have worked on many similar projects before. Let's have a Quick Chat to discuss your Pro Больше

$250 CAD за 7 дней(-я)
(44 отзывов(-а))
6.8
(66 отзывов(-а))
6.5
(82 отзывов(-а))
6.1
jayprakashyadav

Hello, I’ve carefully gone through your job posting. I ’m an expert Web Developer with more than 7 years experience. I am very much interested in your project with all of your requirements. Recently I have successful Больше

$140 CAD за 7 дней(-я)
(29 отзывов(-а))
5.9
vitalykuzin

Hello, Mohammed. I have read your job description carefully and I am interested in your proposal from my skills. I have worked in Website design and development for 6+ years. My aim is to give you 100% satisfaction f Больше

$140 CAD за 7 дней(-я)
(26 отзывов(-а))
5.8
vasylivanovych

Hey, How are you? I’ve carefully checked " Functions review/development for integration through REST API (WordPress, WooCommerce, and WPML) " and really interested in this job. I have rich experiences in WooCommerce Больше

$150 CAD за 5 дней(-я)
(7 отзывов(-а))
5.9
websiteappdev

✅ Hello, 1. Which payment gateway you want to integrate? 2. Do you also want to add any shipping charges? I have built similar E-commerce Websites. Please have a glance. [login to view URL] [login to view URL] Больше

$140 CAD за 7 дней(-я)
(27 отзывов(-а))
5.3
blysh

Hi. I have checked your requiremnet one by one very carefully. I am a full-stack web developer and a PHP expert. I am so interested in your project and I want to work with you for a long time. As a seasoned PHP develop Больше

$140 CAD за 7 дней(-я)
(4 отзывов(-а))
5.3
Verizone

Hi there I have read your job description regarding Functions review/development for integration through REST API (WordPress, WooCommerce, and WPML) and assure you that I am a perfect fit for this job. I am a senior d Больше

$155 CAD за 4 дней(-я)
(4 отзывов(-а))
4.3
yevhenrosovskii

Dear client. I checked your job details I am pretty sure that I am the best candidate for your job I have 6+ years of experience in the field of designing and development I have all the skills which your project needs Больше

$140 CAD за 7 дней(-я)
(3 отзывов(-а))
3.9
akbusinessesltd

Hello, We can surely help you with your current requirements as we have have 5+ years of experience working with CMS WordPress development and my expertise includes XD/Figma/PSD/HTML to WordPress, Plugin Development a Больше

$140 CAD за 7 дней(-я)
(13 отзывов(-а))
4.1
webisidewebiside

WPML/Woocommerce Expert Here To Review Your Functions For Refactoring and Enhancment My name is Usman and I can merge the Product and Product Variant calls and by using Product REST API calls for the base language. I Больше

$140 CAD за 7 дней(-я)
(4 отзывов(-а))
3.8
perfomancedev

Greetings! i read your project details and i understood. I can help you with your project at a high level! I have rich experience in WEB developing. My skills and experience is a great match for your needs. Looking f Больше

$130 CAD за 6 дней(-я)
(3 отзывов(-а))
3.2
manojphpexpert

@@ 100% SUCCESSFUL DELIVERY WITH QUICK TIMELINE, LOOKING FOR LONG TERM BASIS @@ ## Ready To Start Right Away ## What I am going to do if you hire me:- ============================== * You will get time to time Update Больше

$45 CAD за 2 дней(-я)
(8 отзывов(-а))
3.9
castillajoselui3

Hello, I have read the description of your project and understood that you are looking for a WEBSITE developed that requires customers to purchase items off of it. I am a skilled developer and designer that have an ex Больше

$80 CAD за 3 дней(-я)
(11 отзывов(-а))
3.2