Assembly Service Integration for Product Detail Page This project provides an assembly service integration for product detail pages, with dynamic pricing based on product complexity and customer postcode.
Features:
- Dynamic Pricing: Calculate assembly service fees based on the difficulty of the product and the customer's postcode.
- Easy Integration: Seamlessly integrate with your existing product detail page.
- User-Friendly: Ensure a smooth user experience with clear pricing information and service details.
composer require aliuosio/magento-assembly-service \
&& bin/magento setup:upgrade \
&& bin/magento cache:flush;
Backend
Shop -> Configuration
Tab: Osio -> Assembly Service
Catalog -> Product Class to Postcode
On the Product Edit page in Backend there is Group now called Assembly Service If you only have an assembly service use the checkbox. If there aso the option of the product being delivered. You can choose a Product class
add config to turn module turn module on/offcreate attribute products assembly service (Type: radio, Values: true/false) (not visible in frontend only admin)create attribute products Product Class for (Type: select, Values: dummies (takes values later from table delievery Category)) (not visible in frontend only admin)remove asembly service attributes from assembly service generated productcreate product Assembly Service with fixed pricecreate table Product Class with category code (not unique) assigned to different postcodesmake table Product Class editable in adminGet attribute products Product Class in admin from table. Each value distinctadd block with product assembly service under product only visible when parent product has been added to cartadd product_id of to be assembled product as custom option in assembly service productdisplay pulldown with Delivery Categories and postcodechange select in product assembly service to searchbale fielddisplay block assembly service in modal fieldshow image for assembly serviceadd new row and edit in admin gridadd assembly service on ad to cartConfiguration instructionscheck new product bugcheck if all five digits have been entered to postcodemake postcode mandatory before add to catt functiononly show modal if the assembly service for the current product has not been added to cart- make attribute products Product Class visible/dependent on selection of assembly service