Đã Đóng

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.

Kĩ năng: WordPress, PHP, WooCommerce, Kiến trúc phần mềm, JavaScript

Về khách hàng:
( 4 nhận xét ) Gaza, Palestinian Territory

ID dự án: #34775384

36 freelancer chào giá trung bình$152 cho công việc này

(748 Nhận xét)
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 Thêm

$250 CAD trong 7 ngày
(159 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(319 Nhận xét)
7.7
(162 Nhận xét)
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 Thêm

$180 CAD trong 2 ngày
(42 Nhận xét)
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 Thêm

$250 CAD trong 7 ngày
(44 Nhận xét)
6.8
(66 Nhận xét)
6.5
(82 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(29 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(26 Nhận xét)
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 Thêm

$150 CAD trong 5 ngày
(7 Nhận xét)
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] Thêm

$140 CAD trong 7 ngày
(27 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(4 Nhận xét)
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 Thêm

$155 CAD trong 4 ngày
(4 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(3 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(13 Nhận xét)
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 Thêm

$140 CAD trong 7 ngày
(4 Nhận xét)
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 Thêm

$130 CAD trong 6 ngày
(3 Nhận xét)
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 Thêm

$45 CAD trong 2 ngày
(8 Nhận xét)
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 Thêm

$80 CAD trong 3 ngày
(11 Nhận xét)
3.2