We are using AC 7.0.6 here and I have something that's probably not hard but I just don't know the right way to ask the AC libraries for it.
On some of our tours we have a calendar. After the customer picks the quantity, date, time, etc. I have a button in the BuyTourProductDialog ConLib that I want to take them from the current page (product) to the category page for their city (grandparent category).
An example is that Deverill's Awesome Tour is in a category of Land Tours and that is a subcategory to the category of Key West. I want to go back to the Key West page (grandparent) when they are done reserving my Awesome Tour.
Currently I have a button that goes to the Land Tour category (parent) using
Code: Select all
CategoryID = PageHelper.GetCategoryId();
Response.Redirect("~/categorylistsubs-tta.aspx?CategoryID=" + CategoryID);
I am confident there is a more robust and flexible way of doing this but as I said, I just don't know the AbleCommerce functions to use to do it.
Thanks