Writing a PHP code
by UAH
11111
HTTP://133.243.123.83/Rozetka/Photo/6208.jpeg
T-shirts of Malva 21.3 cm 33 r Dark-Blue S-240
of 292.8
1
Maldives
33
Ukraine
The dark blue
by S-240
Needed to:
1 .Change the value of the tags (e.g. 11111 to 22222), but only a) in the goods of a specific category (e.g. 11111); b) in the goods in which the tag has the word "Tufli"; c) in the tag has the word "Dark Blue"
2ndRemove all products from available="false" (for example )
ThreeAround the value in the tags (292.8 to 293)
4 .Add Key_word_1, Key_word_2 but to products with a specific (e.g. 11111 or 22222)
and 5.Change the name of the tag (e.g. on 33) but in goods with a specific (e.g. 11111 or 22222)
6 .Change the value in the tag (e.g. from "Dark Blue" to "Black") but in the items with a specific (e.g. 11111 or 22222)
I use several working formulas (those can be used as a help):
1 .Removal of the line: $find=["/Lion/']; $res_prom = preg_replace($find,"",$res_prom);
2ndRemove the tag with any content: $res_prom = preg_replace('/\s?]*?>.*?\s?/si', ', $res_prom
ThreeRemove the tag with any content2: $res_prom = preg_replace('#]+\bname\s*=\s*[\'\"]Article[\'\"][^>]*>([\s\S]*?#‘‘‘, $res_prom
4 .Remove the tag with any content3: $res_prom = preg_replace('/.*./’,” “$res_prom”
and 5.Substitute certain categories: $file = file('prom_ids.txt'); foreach($file as $ids) { if (!trim($ids)) break; $id = trim(explode(' ', $ids)[0]); $id_r = trim(explode(' ', $ids)[1]); $res_prom = str_replace(''.$id.'
Client's review of cooperation with Vasil Zabolotny
Writing a PHP codeI am very grateful to the freelancer for the patience, time spent and work done. As a result, my project is fully implemented and I am satisfied)
Freelancer's review of cooperation with Anatoly Skiba
Writing a PHP codeInteresting project, Anatoly is always in communication, pleasant in communication person.
Pleasure of cooperation!
-
Good day Anatoly!
There is this work.
Please contact me, I will be happy to cooperate.
-
45 Hello to you. Ready to perform the task. I will perform in the shortest time.
-
Пересобирете данный файл в новый но с задаными условиями, например с той же конструкцией switch
-
Прочитайте мануал по php xml и будет вам счастье
-
По хорошему нужно писать парсить xml и делать изменения на уровне объекта, а не регулярными выражениями. Могу реализовать подобное на java
-
Current freelance projects in the category PHP
Developer for CMS website project on Drupal 7 + PHP/MySQL.We are looking for a developer to assist with the setup of a CMS site on Drupal 7 + PHP/MySQL. Task:1. Create product cards for the entire range of products (currently, not all products on the site have product cards with descriptions and characteristics).2. Add correct… Content Management Systems, PHP ∙ 22 hours 9 minutes back ∙ 38 proposals |
Looking for a Bitrix24 specialist / CRM integrator to set up automation.Our company works with CRM Bitrix24. We need a specialist who can set up automatic addition of phone numbers to leads/orders in two formats. Automation must be correctly configured for two countries: the Republic of Moldova and Romania. Task: When creating a lead or order in… PHP, Web Programming ∙ 1 day 20 hours back ∙ 24 proposals |
Website optimizationOptimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -… HTML & CSS, PHP ∙ 2 days 16 hours back ∙ 32 proposals |
Horoshop SpecialistNeed a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different… PHP, Website Maintenance ∙ 3 days 19 hours back ∙ 21 proposals |
Make sure that order emails from the store do not go to spam.Currently, there is a store on OpenCart, and order emails are landing in spam. We need to ensure they go to Inbox (ukr.net gmail) and check it. The hosting provider wrote: Poor email delivery may be related to a low sender reputation - IP or domain. In this case, we can advise… PHP, Web Programming ∙ 4 days 20 hours back ∙ 47 proposals |