Announcement
Collapse
No announcement yet.
How to remove tab title duplicate
Collapse
X
-
You should find these headings wrapped in <h3></h3> tags in the Customisable Product Layout. First one will be a couple of lines under <div class="tab-content">.
JohnJohn Ennals
www.tortoys.co.uk
- 1 like
-
You use Norman's Tabber adapted for Swift Mark.
The Tab Names are defined in Product Description thus:
Code:{Dimensions} - Width - 28 cm - Height - 35 cm includes bracket. - Depth - 15 cm - Weight (with cartridges installed) 2.530 kg
(Swift Tabbed Product Description JC)
Code:// The tab content // if tab content starts with e.g. <h3 class="tabsub"> ... </h3> then use it as sub-heading if ( preg_match('/(^\s*<h\d>)(.*?)(<\/h\d>)(.*)/is', $tabtext, $bits) ) { $tabtext = $bits[1] . $bits[2] . $bits[3] . '<p>' . $bits[4] . '</p>'; } // otherwise just use tab name else { $tabtext = '<h3>' . $tabname . '</h3><p>' . $tabtext . '</p>'; }
Code:<h3>' . $tabname . '</h3>
Code:$tabtext = '<h3>' . $tabname . '</h3><p>' . $tabtext . '</p>';
Code:$tabtext = '<p>' . $tabtext . '</p>';
This will do it on ALL tab contents in all products...
Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
- 2 likes
Comment
-
You know how it's done now!Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
- 1 like
Comment
Comment