Integration of the WordPress basket with 1C (to get the current price)
Procedure of ordering on the website:
The user collects the goods in the basket by the price of the site, goes to /checkout or /cart.making the order.The general description:
When switching to ordering - the site makes requests in the API 1C (if necessary - authorization, authorization method - we send to 1c phone number and receive the code, which is already sent to the phone number in request (we remember authorization for 3 months.)Further, the customer chooses either one of the previous orders (to repeat the address, to exclude errors), the list we get from 1c, or enter a new address (the list of streets we get strictly from 1c by API, through the search of 3 characters, the entry without the list - prohibit), enter a separate field home, apartment, comment for delivery to this address
Select the date of delivery (a list of current days - we get from 1c at the time of delivery),
After choosing the delivery day - again with 1c we receive permissible delivery times,
Promo code input field (Link to 1C)
Field of comments to the order (for the operator)
We press to update and receive a calculated order from 1c, with the final amounts to the payment.We choose the payment method:
cash - selected and confirmed the method of payment - sent in 1s order, duplicated the order data into the standard tables of the wordpress (the composition of the commodity, possibly the rest of the fields in any text form or we will create a dop.fields and fill them)
Cash-free - selected, sent in 1s order, received the order number, generated the link for payment with the order number in the leaks, duplicated the order data into the standard tables of the wordpress (the composition of the commodity, possibly the rest of the fields in any text form or we will create the dop field and fill them), received the payment from the leaks with the order number, called the app method for registration of the payment in 1C.At the time of confirmation of payment (or at the time of choice of payment, 1c may return the error if the delivery time is more inaccessible and it will need to re-select and pass the way from the choice of time and date of delivery again)
I use the API file
Applications 1
-
вітаю, не буде воно так нормально працювати як Ви хочете
варіант тільки синхронізація товарів та замовлень, так зазвичай і робиться
-
Current freelance projects in the category Web Programming
Development of a simple catalog website (Czech Republic)A budget-friendly yet fully functional product catalog website is needed for the Czech market. The project is short-term (launched for a clearance sale), so the priorities are minimum cost, speed of implementation, and ease of deployment. No complex automation systems or… HTML & CSS, Web Programming ∙ 8 hours 28 minutes back ∙ 55 proposals |
Automation setup: Form on the website → WhatsApp bot → CRM (Make + WATI)Project Description: There is a transportation company website. Clients submit requests through a form on the site — the form is sent to email. We need to set up the following automation:Stage 1 — Form → WhatsApp — When a new request comes to the email from the website, the… Web Programming, Bot Development ∙ 9 hours 42 minutes back ∙ 19 proposals |
I want to learn how to create websites for CS:GO/CS2I need a mentor who will teach me how to create a CS2/CS:GO server. I want to go through step by step via Discord/Zoom: hosting/VPS, server.cfg, maps, plugins, admin panel, ban system, Discord, website, and statistics. Language: Ukrainian or Russian. HTML & CSS, Web Programming ∙ 15 hours 23 minutes back ∙ 8 proposals |
Development of the web service "Interactive Veterinary Dental Map"Project essence: a web application where doctors can maintain interactive dental charts for patients (cats and dogs) The interface design and all jaw elements are already fully prepared in Figma (vector SVG with separation by individual teeth) Required functionality:… Databases & SQL, Web Programming ∙ 15 hours 54 minutes back ∙ 51 proposals |
Looking for a programmer or vibe coding Automation scraping data 2https://drive.google.com/file/d/14tP5XWJB9acV4gn_cJrFwMpihUj3EbQz/view?usp=sharing I accidentally sent that link Web Programming, Data Parsing ∙ 18 hours 21 minutes back ∙ 30 proposals |