Advanced Search
Search Results
27 total results found
Steps to process a Partial Shipped / Partial Invoiced Order
Steps to make a partial shipping/Partial invoiced order. Step 1: Create a multiship order.MS order can be created via backend other frontend. Make sure to have more than 1 Shipping Addresses. For example: Step 2: Ship to one of the addresses:Click the Q...
How to create a Multiship order in backend
Step 1: In backend; navigate to `Orders`. Click `New Orders`. Choose a customer Step 2: Click button `Switch to Multiship` Then click `Add Products` and add a few products to the order. Then click `Add Recipient` to add a new shipping address: Step 3:...
Dev notes
8/15/24: Latest js code for usps address validation: Library: app/code/Frans/CheckoutViews/view/frontend/web/js/addrval.jsUsing the above library: app/code/Frans/CheckoutViews/view/frontend/web/js/view/shipping.js 8/14/24: app/code/Frans/MultiShip/view/admi...
Magento javascript
1/ Magento 2 adds the form key and the isAjax by using jQuery's beforeSend handlere.g. when calling jQuery.ajax( ); Magento appends the isAjax and form_key like this: http://fran/FrAdMiN/ordermanager/index/address/?isAjax=truepayload:city=CHICAGO&street_1=&fo...
AccPac report
AccPac report can be downloaded from BE Invoice. Select a few invoices; then choose Export dropdown, choose AccPac.Terms: PBI: Pay By Invoice. For AccPac, PBI orders are exported differently than non-PBI orders. Code: ConvertToAccpac.phpSteps to build AccPa...
Mapping of which page loads which template and javascript
Here are the mappings of which page loads which template and javascript that is related to Address Validation. 1/ FE checkout New Address popup: Related js files: app/code/Frans/CheckoutViews/view/frontend/web/js/view/shipping.js Related template files:...
Picked Up (pickup) at Fran's
Pick-up at Frans orders (pick-up orders) are orders that have ship method `Pick Up at ...` . The order will be picked up in one of the four pick-up stores in Frans. Here are the steps to process a pick-up order: Step 1: Place order Make an admin single shi...
DEV Create MS in BE
Dev note: Backend create MS order Button `Update Recipients and Items` : Frans/MultiShip/view/adminhtml/templates/order/create/multiship/shipping_assignments.phtml $block->getButtonHtml(__('Update Recipients and Items'), 'order.updateQuoteAddressItems(),or...
Frans custom for Shipment module
Frans shipment has some custom. 1/ Shipment created vs shipment shipped Shipping process goes like this: - step 1 - Shipper creates a shipment - step 2 - Shipper adds packages to shipment - step 3 - Shipper adds products to shipment's packages - step 4 -S...
AccPac SKU
AccPac SKU is the Sage (ERP) system product id. Each product in Frans Magento is assigned an AccPac SKU. This helps integrate from Frans Magento to Sage and from Sage to Frans Magento AccPac SKU is unique per product ignoring ribbon color. This is so that a...
Magento dev tricks and tips
1/ To debug email sending code: For example, when placing an order in FrontEnd; the order immediately gets marked as processed; and the quote is cleared. In order to debug sending email: in file `vendor/magento/module-checkout/Controller/Onepage/Success.php`...
How to create Credit Memo per specific shipping address
In Magento, a Creditmemo can be assigned to a specific shipping address. This guide shows how we perform credit memo per shipping address. 1/ Create a MS order. For example, create a MS order has 2 quote addresses (QA) 2/ Ship the two QA. Print the label. Cl...
Stripe configs
1/ Frans uses Stripe in Pre-auth mode. Make sure your localhost environment also uses Pre-auth mode. In config, change `Payment action` to `Authorize Only`: 2/ To debug local stripe connect (local webhook):Install Stripe CLIIn command line, enter `stri...
Check cutoff date in FE checkout
11/19/24 In frontend checkout, there's a js polling that runs every 1 minute to get the latest cutofftime
Quote Address
Quote Address is used for both Single-Ship and Multi-Ship In Frans, most business logic are stored in quote_address Custom feature 1: Multiple users editing the same QA: In Frans, there's a custom code to track admin user's sessions. Extension: Frans/OrderP...
Front end Multiship
To enable Multiship in FrontEnd, first we need to enable it in config: Under Frans' Module , Multiship, Enable Front End Multiship, select Enable: Click `Save Config`. During Front-End checkout, log in, and button `Ship to Multiple Addresses` will be show...
Cron job to create partial invoice and send email of MS orders
First of all, configure cron schedule in Config --> Frans --> MultiShip --> Cron Settings Then execute ./bin/magento cron:runMake sure table `cron_schedule` has rows with job_code='multiship_shipment_email_cron' Each cron execution will create logging rows...
PHP files and XML files to edit
- Shipment grid:code/Frans/CustomOrderGridExport/Rewrite/Framework/View/Element/UiComponent/DataProvider/FilterPool.phpcode/Frans/OrderProcessing/Model/ResourceModel/Shipment/Grid/CollectionShipment.phpcode/Frans/OrderProcessing/view/adminhtml/ui_component/sal...
Magento constants for invoice shipment order state and statuses
1/ Invoice statuses: /**#@+ * Invoice states */ const STATE_OPEN = 1; const STATE_PAID = 2; const STATE_CANCELED = 3; 2/ Shipment statuses: CASE WHEN shipment_status = 1 THEN 'New' WHEN shipment_status = 2 THEN 'Ready To P...
Coding guidelines
JavaScript: do NOT translate text!Instead of $.mage.__('Attention')just use `Attention`Frans is an English-only website for now. Don't use `INNER JOIN`Use `JOIN`. Keep it simple. `INNER JOIN` is the same as `JOIN`Don't use `LEFT OUTER JOIN`Just use `LEFT J...