Change the logic of the Opencart shopping cart
- If a product is added to the cart from the "discounted products" category, then there can only be 1 unit of 1 product from this category in the cart, and adding products from other categories is not allowed.
- If a product from another category (without a discount) is initially added, it is removed and a discounted product is added instead.
- If there are already discounted products in the cart and any other product is added, display the message "only one discounted product can be in the order" (we will change the text later).
Order process:
- User adds products to the cart.
- User fills in the shipping details: address, delivery method.
- Clicks the pay button and is sent to an external payment link, where parameters with the user's data provided during checkout need to be passed, for example: sub_id_11=Name, sub_id_13=address, etc. I will provide parameters for all fields later.
The website is almost ready, currently in the template selection stage, so if necessary, we can choose a template with the required functionality. Setting up and installing the template is not required, only implementing the above-described requirements.
Client's review of cooperation with Vitalii D.
Change the logic of the Opencart shopping cartMade everything qualitatively and ahead of the appointed time
Freelancer's review of cooperation with Ilya K.
Change the logic of the Opencart shopping cartIt was nice working with you. I will be happy to help you next time.
-
незнаю навіщо така задумка чесно кажучи але скажу прямо це не просто корзини логіку писати потрібно , а як мінімум переписати потрібно функціонал самого ядра.
і логіку магазину.
отут прояснення думаю буде вартове:
- коли у вас додатно 1 товар зі знижкою, то більше товару взагалі додати не можна чи тільки товару зі знижкою не можна додавати ?:
- пересилання полів котрі ви кажите можливе на етапі оплати (якщо вона йде перед кнопкою підтвердити замовлення) тільки за умови використання авто оновлення і зберігання полів, у опенкарта штатна корзина цього по дефолту не виконує і дані зберігаються і можуть бути кудись передані тільки після формування замовлення фінального... ну ок є Сімпл корзина вона це вміє.
загалом до Тз є і інші питання.. навіть той самий товар котрий зі знижкою він буде зі статусом знижки штатним (тобто знижка застосовується по потрібним полям в базі ) чи просто в папці товари зі знижкою?
-
Ilya K. aff
1) когда добавлен товар со скидкой, больше никакой товар нельзя добавлять, при попытке добавить любой другой товар и вторую единицу товара мы выводим сообщение с ошибкой
2) что значит "только после формирования финального заказа"? по факту нам нужен стандартный этап оформления заказа только кнопка оплаты ведет на внешнюю ссылку с параметрами данных юзера
3) товары будут со скидкой (старая и новая цена) попадать в отдельную категорию "товары со скидкой" дополнительно можем на них повесить тег "акция" чтобы их было проще найти -
Current freelance projects in the category Content Management Systems
LearnWorlds Administrator-ConfiguratorTask Set up the ready-made LearnWorlds platform for an elite online course. Do not develop the architecture — implement the already prepared structure manually in the admin panel. ———————— What needs to be done: Branding ⦁ Connect your domain ⦁ Upload the logo, set up… Content Management Systems, Web Programming ∙ 1 day 2 hours back ∙ 9 proposals |
Responsive Portolio Website Design ( wordap - selling and buying website )I need a clean, modern portfolio site that follows my existing brand guide and adapts beautifully to desktop, tablet, and mobile. The site’s job is simple: highlight my work through high-impact photos, embedded videos, and detailed case studies so visitors immediately understand… Content Management Systems, Web Programming ∙ 1 day 20 hours back ∙ 42 proposals |
Transfer the fully ready adaptive HTML5 structure to WordPress.
267 USD
I am looking for an experienced WordPress developer who can convert our meticulously prepared static HTML5/CSS3 code into a high-performance custom WordPress theme. The frontend is almost ready (about 99%): semantic markup, metadata, and multilingual structure (hreflang) are… Content Management Systems, PHP ∙ 2 days 10 hours back ∙ 63 proposals |
Need a strong WordPress / WooCommerce specialist for the refinement of the MARSPRO website.We are looking for a responsible freelancer or a small team for the quality completion and technical refinement of the MARSPRO company website. The website is already operational, but there are many minor and significant technical issues left by the previous developer. We need a… Content Management Systems, HTML & CSS ∙ 3 days back ∙ 44 proposals |
Development of a modern website for the Theater
223 USD
We are looking for a web developer to create the official website of a modern cultural platform. The project unites theatrical, artistic, educational, and cultural initiatives. It is necessary to create a modern responsive website that will simultaneously serve an image… Content Management Systems, Web Programming ∙ 3 days 2 hours back ∙ 113 proposals |