Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Antoine
@2ec0b4
great :)
lattkkthxbbye
@lattkkthxbbye
I had it set to never recompile the template files
somehow I misesd that opion when I disabled all cache
@2ec0b4
1 more q, I am trying to use bootstrap and I loaded it wit npm install did the config etc
but the css is not working it seems
I am new to scss so must I include something else?

this is my main theme.scss
$bg-color: white;

body {
background: $bg-color;
}

Antoine
@2ec0b4
did you run npm run watch or npm run build from the _dev folder?
lattkkthxbbye
@lattkkthxbbye
yea
its changing what I do in theme.scss
I mean it works
its just not including the bootstrap css
anyway
did I miss something?
Antoine
@2ec0b4
Bootstrap doesn't seem to be in the StarterTheme (not in the package.json file)
i switched to the classic theme
lattkkthxbbye
@lattkkthxbbye
I installed it manually
{
"name": "new-theme",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "webpack --progress -p",
"watch": "webpack --progress --colors --watch",
"debug": "webpack --progress --colors --debug --devtool source-map --output-pathinfo --display-chunks --watch"
},
"author": "PrestaShop",
"license": "AFL-3.0",
"devDependencies": {
"babel-core": "^6.4.5",
"babel-loader": "^6.2.1",
"babel-preset-es2015": "^6.3.13",
"css-loader": "^0.23.1",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"imports-loader": "^0.6.5",
"less": "^2.7.1",
"less-loader": "^2.2.3",
"node-sass": "^3.7",
"postcss-loader": "^0.8.0",
"sass-loader": "^3.1.2",
"style-loader": "^0.13.0",
"stylus": "^0.54.5",
"stylus-loader": "^2.1.2",
"webpack": "^1.13.1",
"webpack-cli": "^3.0.8"
},
"dependencies": {
"bootstrap": "^4.0.0-alpha.6",
"tether": "^1.4.4"
}
}
this the json
Antoine
@2ec0b4
ok, so you have to include it in a scss file
like this @import "~bootstrap/scss/bootstrap";
lattkkthxbbye
@lattkkthxbbye
solved it
@import "~bootstrap/scss/bootstrap.scss";
thanks
its the same
:&
:*
Antoine
@2ec0b4
;)
lattkkthxbbye
@lattkkthxbbye
So I am using this code for the search input box, but its not working as it should
After I search for a word and press search , I am re-direct to this url http://website.com/search?controller=search&s=test
Antoine
@2ec0b4
which code?
submit the form search and been redirected to this url is the expected behavior 🤔
lattkkthxbbye
@lattkkthxbbye
its working now
I re-wrote the module
odd
Hamid Khan
@mhkubaid
Hi
I am trying to merge the sign-in and create-account forms into Sign-In page in 1.7. Other than modifying .tpl files, is there any other way to do it?
denellum
@denellum
hey guys, where is the default theme's logo located at? trying to revert back to it.
nvm got it! thanks!
Dan Cruz
@dancruznyc
Any good tutorials on how to get started customizing a theme
I know html and CSS and some javascript
TechhDan
@TechhDan
@nda
@dancruznyc read the docs but usually you start from the default theme they already have and go from there
selvakumardevvelan
@selvakumardevvelan

Hi ,

How to create the admin custom grid in prestashop 1.6?

selvakumardevvelan
@selvakumardevvelan

Hi All,

I need migrate the blog form wordpress to Prestashop.

Could you please tell, how it do?

Aloui Mohamed Habib
@alouimohamedhabib
Matt75
@Matt75
@alouimohamedhabib Looks interesting, thanks for your work 👍
Shivam Pandey
@ShivamP8997_twitter
If anybody are looking to sell their Prestashop store products to multiple marketplaces?
Martins
@MartinsDonins
Hello.
How can I make a shipping price only appear on the check out page (I don't want it to appear before a customer chooses a shipping method)
I searched but couldn't find a solution. :(
(I use: prestashop 1.7)
Thank you!
Vince
@japefr_twitter
Hi,
I'm searching about integrate bootstrap 4 with the StarterTheme, anyone can help me to understand please ?