Git Product home page Git Product logo

Comments (6)

Kajakaran avatar Kajakaran commented on September 13, 2024

Hi @Stoob

I have tested it looks like no problem with cividiscount. Could you please check the url format that you are using in the second image. I think civi expects in the format of 'civicrm/event/register&reset=1&id=4'.

Thanks
Kajan

from org.civicrm.module.cividiscount.

Stoob avatar Stoob commented on September 13, 2024

That is the problem exactly, an event discount with no price sets
applies removes the id= from the URL and causes an error on WordPress.

On 05/15/2015 4:01 am, Kajakaran wrote:

Hi @Stoob [1]

I have tested it looks like no problem with cividiscount. Could you
please check the url format that you are using in the second image. I
think civi expects in the format of
'civicrm/event/register&reset=1&id=4'.

Thanks
Kajan

Reply to this email directly or view it on GitHub [2].

Links:

[1] https://github.com/Stoob
[2]
#92 (comment)

from org.civicrm.module.cividiscount.

Kajakaran avatar Kajakaran commented on September 13, 2024

Hi @Stoob ,

I could not reproduce this issue. can we have a session on this?

Thanks
Kajan

from org.civicrm.module.cividiscount.

Stoob avatar Stoob commented on September 13, 2024

I can have a skype session on Monday if neccessary.

In the meantime please review....

There are two issues: 1) the behavior of the no price set selection code is not as described by the extension. Selecting ZERO price sets should still work 2) the error

I can no longer produce error...issue #2

However issue #1 still exists. Please see attached image for a discount code example. You can use this discount code here:

http://resolutionsnorthwest.org/?page=CiviCRM&q=civicrm/event/register&reset=1&id=132

See that it #1 does not work and #2 removes the id= of the page from the URL
price-set

from org.civicrm.module.cividiscount.

Kajakaran avatar Kajakaran commented on September 13, 2024

Hi @Stoob,

a) Issue 1 has been fixed in the following PR.

#101

b) issue 2 please find the screenshots

screenshot_1
screenshot_2
screenshot_3

image 1: discount code configuration screen with price set option not set for the event 'fall fundraiser dinner'

image 2: event registration page for that event before discount applied. look at the URL format

image 3: event registration page after discount applied. look at the URL format.

In your case, image 3 URL goes to somewhere else(with page_id). I think this is happening because of other modules your might have installed in your system, not because of cividiscount.

Thanks

from org.civicrm.module.cividiscount.

Stoob avatar Stoob commented on September 13, 2024

thanks!

from org.civicrm.module.cividiscount.

Related Issues (20)

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.