- This topic has 4 replies, 1 voice, and was last updated 9 months, 1 week ago by
john82425.
- AuthorPosts
- August 24, 2018 at 08:09 #19478
AnonymousInactiveHi,
Have just started using Pricing Table and really like it. One problem I do have though, I am using a drop-in script for a popup ‘Subscribe’ button at the bottom of table and it doesn’t seen to be working.
I am trying to drop in the following script to any of the buttons:
subscribeonto the following page:
https://adongroup.com.au/_aodpackagesv2_draft/I have dropped a header script and the script works fine on other buttons, but just can’t get it working in the Pricing Table.
Any suggestions?
Thanks, Alvin
August 27, 2018 at 07:49 #19504
AnonymousInactiveSorry, just realised I pasted code directly onto the page. The drop-in script I am trying to get working on the pricing table button(s) is:
<a href="javascript:void(0)" data-cb-type="checkout" data-cb-plan-id="video-boost-plus" data-cb-addons_id_0="video-boost-plus-add-on" ><p style="text-align:center; font-size:22px;">SUBSCRIBE</p></a>
Any suggestions?
August 27, 2018 at 16:04 #19519
Alex_supportMemberHello, Alvin.
We already figured that issue out via our internal support.
You should place the code inside the pre-existing div instead of creating a new one and use this instruction to change code of button in the pricing table: https://supsystic.com/documentation/change-the-html-code-of-the-button/June 21, 2022 at 13:01 #23649
john82425ParticipantHi, is this still possible? Wherever I put the Chargebee link like is posted above, it seems to get stripped out.
June 21, 2022 at 14:16 #23650
john82425ParticipantI was able to fix this by editing
htdocs/wp-content/plugins/pricing-table-by-supsystic/classes/req.php
and adding these items to the list of allowed attributes ona
tags'data-cb-type' => 1, 'data-cb-item-0' => 1, 'data-cb-item-1' => 1,
on line 68 at column approx 11336. - AuthorPosts
- You must be logged in to reply to this topic.