WP Manifestindependent plugin directory
manifest / ecommerce / tickera-cart-fix

Tickera Cart Fix for Subscribers

Fixes Tickera cart update issue for WordPress subscribers

by Tripmaster7 & GitHub Copilot · github.com/tripmaster7/tickera-cart-fix

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tripmaster7/tickera-cart-fix/archive/refs/heads/master.zip

Fixes a bug in Tickera where WordPress users with the Subscriber role cannot update the cart, while admins and guests work fine.

The Problem

Tickera's cart form submits to wp-admin/admin-post.php. Subscribers (and other non-admin logged-in users) are often blocked from accessing wp-admin/ by:

  • Security plugins (Wordfence, iThemes Security, etc.)
  • Themes or custom code that redirect non-admin users away from the admin area
  • WordPress hardening configurations

Admins aren't affected because they have full wp-admin access. Guests aren't affected because WordPress handles the admin_post_nopriv_ hook before auth checks apply.

How It Works

Tickera already hooks its update_cart() function to the wp_loaded action, which fires on every page load — including frontend pages. This plugin simply rewrites the cart form's action attribute from admin-post.php to the current page URL (""), so the POST is handled on the frontend by the existing wp_loaded handler.

Installation

  1. Download or clone this repository
  2. Copy the tickera-cart-fix folder into wp-content/plugins/
  3. Activate the plugin from the WordPress admin

Requirements

  • WordPress 5.0+
  • Tickera Event Ticketing System

License

GPL-2.0-or-later