05.01.2022, 12:57
You can override the swipe handler function and provide a list of allowed plan IDs where swap should work.
Add to Custom JavaScript:
Add to Custom JavaScript:
Code:
$(function() {
var fn = showPrevNextPlan;
var allowed = [ 4, 6, 10 ]; // allowed plan IDs
showPrevNextPlan = function(next) {
if (allowed.indexOf(currentPlanId) >= 0) {
fn(next);
}
};
});