These are chat archives for mirumee/saleor

4th
Aug 2018
Kuntal
@Kuntal-KK
Aug 04 2018 05:02
how can I add my custom css and js code? @NyanKiyoshi
NyanKiyoshi
@NyanKiyoshi
Aug 04 2018 05:18

You could customize the files that are under saleor/static/js and saleor/static/scss

When doing that, you can run npm start in saleor to automatically compile your changes in development mode

Kuntal
@Kuntal-KK
Aug 04 2018 05:31
ok thanks @NyanKiyoshi
ctzkane
@ctzkane
Aug 04 2018 05:36
Hi Everyone, what would be the best way to implement tiered/quantity pricing in saleor? Would you recommend by doing multiple variants per quantity? And as for keeping the source updated is there a way to add functionality through django apps (instead of having to modify the actual saleor code)? Thanks!
Kuntal
@Kuntal-KK
Aug 04 2018 05:50
I have my own css and js file. Shall I put them in those folder? @NyanKiyoshi
NyanKiyoshi
@NyanKiyoshi
Aug 04 2018 05:55
@Kuntal-KK you can
Kuntal
@Kuntal-KK
Aug 04 2018 05:56
ok thanks again @NyanKiyoshi
Filip Kucharczyk
@Pacu2
Aug 04 2018 06:22
@ctzkane Take a look at get_price function on the ProductVariant model, that seems a good place to hook it up.
Creating your extra module as a custom django app will help in avoiding too many conflicts while updating the saleor, but you still need to plug it in somewhere.
Kuntal
@Kuntal-KK
Aug 04 2018 09:28
how can I integrate Razorpay payment gateway in saleor? I have tried but still could not do..Thanks in advance. @NyanKiyoshi
Kuntal
@Kuntal-KK
Aug 04 2018 10:03
I have deployed saleor in heroku. I have my custom css and js file in static/assest folder. But I am not able to set up static file, and it is resulting in file not found error in server. Can you please help where shall I put those file so that it reflects in heroku? @Pacu2
Filip Kucharczyk
@Pacu2
Aug 04 2018 11:55
If you've added new files, instead of expanding existing ones (storefront.js / dashboard.js) then you might need to update webpack.config.js file
Kuntal
@Kuntal-KK
Aug 04 2018 12:00
What kind of update I need to do in webpack.config.js? Can you explain a bit? @Pacu2
Alexander Bayagin
@BredoGen_gitlab
Aug 04 2018 17:59
Hi guys! Thank you for your great work! Can you please share:
is storefront 2.0 still actual for 08.2018 sprint?
It will be separate react & graphql app as far as I understand
RNDflo
@rndflo
Aug 04 2018 18:20
Hi ... has anyone had any experience with deploying on Apache-EC2
?
Having trouble configuring wsgi
Please at-mention if you can help me with the correct VirtualHost configuration for wsgi with saleor