Hello @shahroozdc,
My apologies for any confusion.
The first thing you want to do is rearrange the tabs in the view, and you can do so by going into the Functions folder and opening the Shortcodes.php file. From there, you want to scroll down to line 680, and replace the code from lines 680 to 688 with the following code:
if (!in_array("Detail", $ExcludedLayouts)) {
$HeaderBar .= "<a href='#' onclick='ToggleView(\"Detail\"); return false;' title='Detail'><div class='upcp-details-toggle-icon " . $Color . "-details-icon'></div></a>";
}
if (!in_array("Thumbnail", $ExcludedLayouts)) {
$HeaderBar .= "<a href='#' onclick='ToggleView(\"Thumbnail\");return false;' title='Thumbnail'><div class='upcp-thumb-toggle-icon " . $Color . "-thumb-icon'></div></a>";
}
if (!in_array("List", $ExcludedLayouts)) {
$HeaderBar .= "<a href='#' onclick='ToggleView(\"List\"); return false;' title='List'><div class='upcp-list-toggle-icon " . $Color . "-list-icon'></div></a>";
}
From there, you want to go update the shortcode you are using and set the detail view to load first. You can do so by adding the starting_layout
attribute.
Your shortcode should look like this:
[product-catalog id=’1′ starting_layout=’Detail’]