Jump to content
thirty bees forum
  • 0

Trying to get PS 1.5-style tabs in 30bz


Question

Posted

Hi everyone,

I'm trying to get PS 1.5 sytle tabs to work in 30bz. @Nemo has a very helpful tutorial about how to do it with PS 1.6 but it involves editing the theme's product.tpl file and this file has been heavily rewritten in 30bz.

Following @Nemo's tutorial a friend of mine (I suck completely at PHP) tried to correctly insert the PS 1.5 code into the 30bz product.tpl file, but the insertion points @Nemo mentioned were often not there so the code is likely in the wrong place. After hacking around with it for a bit I renamed the original file on a brand new 30bz 1.0.1 installation and uploaded the hacked together product.tpl. The result is this:

https://www.zila.jp/index.php?id_product=1&controller=product

If that looks exactly like a normal product page, you're right. Making the changes with PS 1.5 code didn't actually result in any changes in the rendered page.

So I assume something is badly wrong with the file I uploaded but I don't know what. @Nemo, any ideas? @mdekker?

Recommended Posts

  • 0
Posted

Here is the gist, https://gist.github.com/Dh42/d94c08a568b5ef20194eeaf5cc33543c Add the css to the bottom of your product.css, and copy the product.tpl over your product.tpl file and it should work.

  • 0
Posted

es that worked. I know this is probably out of topic but perhaps you could point at the solution to get nemos Q & A module to be in one tab.

  • 0
Posted

I have written an article about how to add the tabs if anyone needs it, https://thirtybees.com/developer-blog/adding-tabs-to-the-product-page/

  • 0
Posted

@alwayspaws What the edit does is make tabs like on this page, http://store.nemops.com/free-modules/44-product-access.html instead of inline section areas like in our default theme.

  • 0
Posted

What if you want the ability to add a new Tab. Example a shipping Tab with unique title. A sizing chart is another good example. It would also need the ability to be linked only to certain products too.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...