Support » Plugin: Coupon Creator » Rendering coupons within hidden field

  • thaynejo

    (@thaynejo)


    I have three sets of coupons I need to display. The display is determined by who is viewing the site (not logged, just viewing). The determination will need to be done via an ajax call to the server which will respond with which set they have access to.

    I was thinking that the page would initially load with the three groups of coupons in hidden divs on the page. I would then use jQuery to get the response from the server and unhide the necessary div as a result.

    What I need to verify is that the coupons will still render within a hidden div so that when I change the div from display: none to display: block, the coupons will show correctly.

    https://wordpress.org/plugins/coupon-creator/

Viewing 1 replies (of 1 total)
  • Plugin Author Brian

    (@brianjessee)

    Hi,

    Thanks for using the Coupon Creator.

    That should work for what you are trying to do, but could only be confirmed by trying it out. I do not see why not though.

    Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘Rendering coupons within hidden field’ is closed to new replies.