[Opencart 2.3] Correction of logic in the basket
- each product is added to the basket with a separate line (to indicate the sales price for each position)
- when pressing "Form Order" the standard logic passes the goods in line and accordingly if the same goods are added in 2 lines and summarily exceeds the limit - it will give the order to form, since the standard logic does not see the exceeding of the limit in the current line and goes to the next line, etc.The example:
Good X is added to the basket 2 times (in 2 lines), the actual remains on the site 10.In one line to 7, in the other to 10, when pressing to order the logic of the baskets does not see that it is the same product, and that the rest of them must be common.It just goes through the line - it sees that there is no exceeding limit and goes further.Task: It is necessary to correct the logic so that it takes into account the total residues for the goods, regardless of how many times this goods have been added to the basket.For example, the above item X was added 2 times 7+10, at the time of ordering it should have been a mistake that the item is not enough.You can implement a cycle of verification of the presence of the goods in the basket and store the values in the variables, or somehow, consider all options.Show the price for performing the work.All questions and suggestions in person.
Client's review of cooperation with freelancer
[Opencart 2.3] Correction of logic in the basketEverything is quick and quality, we recommend!
Freelancer's review of cooperation with Aleksey Shepel
[Opencart 2.3] Correction of logic in the basketEverything is great! I recommend cooperation!
![]()
Current freelance projects in the category Javascript and Typescript
Optimization of Core Web Vitals (OpenCart) for Google PageSpeed — Mobile and PC versionsOrder description: We are looking for an experienced frontend developer/OpenCart specialist to optimize the loading speed of the website (categories and product cards) according to Google Core Web Vitals requirements. About the project: * CMS: OpenCart. * Specifics: The site… Content Management Systems, Javascript and Typescript ∙ 19 hours 30 minutes back ∙ 15 proposals |
Optimization of WordPress site speed
113 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 1 day 14 hours back ∙ 63 proposals |
Integration of a service cost calculator on the Webflow site
330 USD
We are looking for a developer to integrate a ready-made service cost calculator into our website, created on Webflow. About the company We are engaged in: furniture assembly; TV mounting; mounting shelves, pictures, mirrors, and other items; moving help; heavy lifting; handyman… Javascript and Typescript, Web Programming ∙ 1 day 15 hours back ∙ 58 proposals |
Looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition.There is a working, well-designed project on Odoo 19 Community — CRM for a Ukrainian hotel, already in production-grade infrastructure. We do not plan to rewrite from scratch. We are looking for one person who will take over the project, maintain the working state, and lead it… Javascript and Typescript, Web Programming ∙ 3 days 16 hours back ∙ 2 proposals |
I am looking for an experienced Full Stack developer to create a SaaS service for online stores.Service idea: The client uploads a link to their product feed (XML or CSV). The service automatically retrieves the products, takes their photos, and creates new advertising images based on ready-made templates: price, discount, logo, promotional tags, etc. There should also be… Javascript and Typescript, Web Programming ∙ 4 days 22 hours back ∙ 87 proposals |