modmore / commercetheme_red Goto Github PK
View Code? Open in Web Editor NEWTheme #1 for Commerce, dubbed "Red" even though its accent color is blue. Bootstrap based.
Theme #1 for Commerce, dubbed "Red" even though its accent color is blue. Bootstrap based.
Cute, but should probably have a different default that comes with the theme.
There's a known issue in the theme that causes a conflict in the checkout.
Basically, both the theme and various gateways (including Stripe and Braintree) hook into the submit event in a non-deterministic way, allowing the payment step to be submitted by the theme before the payment gateway collected information. This can cause errors and payments to fail.
If you use such a gateway, you'll need to (for now) disable the javascript that ships with Red. You can do so by commenting out the following script tag in the ctred.footer
chunk:
<!--<script src="[[++ctred.assets_url]]js/main.js"></script>-->
We'll update this issue when a fix is available.
Should be a checkbox which has an input value of "true" per the filter on the homepage.
Especially the ones that have to do with templating, like the footer ones.
Could be something like:
// Close mini-cart if clicked outside
const miniCart = document.getElementById('minicart');
if (miniCart) {
window.addEventListener('click', function (e) {
const toggle = document.getElementById('minicart-header-toggler');
if (!miniCart.contains(e.target) && toggle.checked) {
toggle.click();
}
});
}
In red template, the reset password doesn't work.
Why : The reset password resource has the same template that forgot password resource.
You must add a new template reset password and inside put
[[!ResetPassword? &loginResourceId=`[[++commerce.login_resource]]`]]
https://secure.helpscout.net/conversation/1183630372/23022?folderId=46279
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.