Git Product home page Git Product logo

pretix-wp-plugin's People

Contributors

ahus1 avatar jfwiebe avatar raphaelm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pretix-wp-plugin's Issues

Multi-language support not working in WordPress widget

When using more than one language in Pretix, the WordPress widget won't work. I assume the reason is an added language selector in the script name which I can see when generating the widget code via Pretix:

English version: <script type=“text/javascript” src=“https://ticket.bonn.digital/widget/v1.en.js” async></script>
German version: <script type=“text/javascript” src=“https://ticket.bonn.digital/widget/v1.de-informal.js” async></script>

Make Plugin multi-event compatible

Currently, the plugin is only able to show the shop of one event within a WordPress instance. It would be great to have multiple shops within one site.

Add multi-events-support

Fuckupnights are a row of events. (Veranstaltungsreihe).

When I add the shortcode [pretix-widget eventurl="https://ticket.bonn.digital/bonndigital/fuckupnights/"] the shop isn't shown.

When I add the shortcode [pretix-widget eventurl="https://ticket.bonn.digital/bonndigital/fuckupnights/2/"] (because it is the second event of the row) the show appears.

When I put one ticket into the cart and want to continue I get this error message:
"No date was specified"
bildschirmfoto 2017-11-09 um 21 17 53

Add http support

The plugin does not support pretix instances websites running on http. This is not recommended for production environments, but should be implemented for testing purposes.

See the pretix docs for more information on this.

Embedding doesn't work

I installed the plugin, created a shortcode and pretix was visible. But after loading I got an error (instead of the ticket shop:

[Error] Origin https://test.bonn.digital is not allowed by Access-Control-Allow-Origin.
[Error] Failed to load resource: Origin https://test.bonn.digital is not allowed by Access-Control-Allow-Origin. (product_list, line 0)
[Error] XMLHttpRequest cannot load https://ticket.bonn.digital/bonndigital/fuckupnights/widget/product_list?lang=de-informal due to access control checks.
[Error] 

I tried out different configurations of CORS in nginx, but didn't succed. Thanks for the plugin, and thanks for the help! 👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.