I've been having some trouble with an {if} statement on a mod for paid membership. I thought this would be fairly simple.
I want to change the cart checkout button to join when it is a membership product.
I found this in the membership sign up script:
Quote:
if (empty($add_to_cart)) {
$amount = ($product_options == "Membership Sign Up") ? 1 : $amount;
$options = "Memberships: " . $product_options;
|
So I tried this which doesn't seem to be working:
I also tried using {if $user_membership ne ""} but that didn't work either. Is there something about the cart that handles these variables differently?