Quote Originally Posted by Dave224 View Post
The product is a membership to our organization. There are four attribute options and values for each as follows:
  • transaction type: new or renewal
  • membership classification: (six membership levels from student to life membership)
  • location: US or non-US
  • Gift?: yes or no

Each membership level has a different price. If the customer is non-US, a surcharge is applied to three of the six membership classifications to partially cover increased mailing costs for our quarterly magazine. If the surcharge was applied to all six classifications I could use the attribute option price delta feature. Since it's not, I set up two identical products, one with the price for each classification without the surcharge, and another with the surcharge applied to the three classifications. Only one product is shown to the customer, and no prices for each classification are shown where the attributes are selected. Prices are disclosed in the product description. My file in extra_cart_actions detects the membership product being added to the cart, and changes the product to the surcharged membership if the surcharge applies, that is, to one of the three membership classifications that get the surcharge and if the customer is non-US. A message is displayed to the customer if the surcharge is applied.

If a gift membership (new or renewal, any classification, any location), the same file brings up the form we have been discussing, asking for name, address, email, etc. A discussion of the process and how I got to this point is located in the General Questions forum titled "Custom form doesn't work", dated Jan 5, 2020.

The membership product(s) are not SBA products, that is, I don't track inventory for each possible combination of attributes, or for a subset of those attributes. I only track inventory at the product_id level for these two products.

Dave
So, I'm curious, if the product are not SBA tracked, how is it that the SBA extra_cart_actions file interacts with your product and/or causes an issue, it seems like it *should not* do anything on the provided data? (if it does, then perhaps there is a separate issue to address rather than the presence/absence of an additional notifier...

Are there remnant records about attributes to these products_id values in the SBA table? Such a relationship should be visible in the admin menu for Products with Attributes Stock (SBA) when filtered on the associated products_id.

Are attributes displayed in an unusual way that might invoke action against the attribute grid logic?

BTW, providing a link directly to such related discussions tends to be better than a textual description about it, but no harm there. :) The custom form doesn't work thread discussed above is located at: https://www.zen-cart.com/showthread....m-doesn-t-work