Themekraft / wc4bp

WooCommerce BuddyPress Integration
GNU General Public License v2.0
18 stars 8 forks source link

Default tab for Shop #91

Closed gfirem closed 7 years ago

gfirem commented 7 years ago

Default tab for shop is not working if cart tab is disabled.

gfirem commented 7 years ago

In the free version the user can select a custom page as default tab for shop. But it return 404. The above need to be define.

This happen in the pro version. If the user select the default tab for shop, it will override other existing (now get 404). If no default tab selected then the system select the next available enable tab.

gfirem commented 7 years ago

If i disable all tabs from woocommerce and the cart, the site break, because the url move from http to https. Then if i disable the checkout tab i dont get the https error but i get an error 404 instead of load the next enable tab. This 404 error remain if i continue disabling tabs from the core (checkout, history, track )

gfirem commented 7 years ago

New details. If i have a custom page, and i disable all tabs (my account, shop) the system use the default tab for the custom page. It work so far. But if i delete the custom page, the shop remain active showing 404 and when i back to the WC4BP Settings tab it show as disabled (still enabled in the navigation and tab from the my account bp space) until i save the options it apply the new changes. @marin250189

gfirem commented 7 years ago

In the case the system keep the shop disable we need a notice in the admin, to let the user know what is the current status of his request. @marin250189