abban / collection-shipping-module-for-jigoshop Goto Github PK
View Code? Open in Web Editor NEWA jammed together collection Module for Jigoshop. You probably shouldn't use this as it involves a bit of hacking.
A jammed together collection Module for Jigoshop. You probably shouldn't use this as it involves a bit of hacking.
== DISCLAIMER == This is a hack, use at your own peril! == DESCRIPTION == This is a quick hack for the Jigoshop ecommerce plugin to add a collection option. It adds a new field when collection is selected then some jQuery copies the option selected into the notes textarea on the checkout form. Pretty much only needed if you have multiple collection points. == INSTALLATION == To install it do the following: 1. If you haven't already done it, copy the Templates folder from the Jigoshop plugin into your theme and rename it to 'jigoshop'. 2. Add the collection.php file to the shipping folder in the Jigoshop plugin. 3. Open the copy-into-theme.php file and copy the php code into your theme in jigoshop/checkout/review_order.php. This goes after the jigoshop_cart::needs_shipping() if statement, around line 90. You also need to add your collection locations to it. If you only have one collection location don't copy in the select box, instead just put a not in telling the user where to collect it. 4. Copy the javascript function into your footer or script file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.