Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 how to setup related static table content format
Author « Topic »  

leejon
Starting Member

25 Posts

Pre-sales questions only
(More Details...)

Posted - 02/26/2018 :  00:15:29  
Hi sir,

I followed below link to setup the Dynamic Spry Tabs, when setup the Related, the layout format is not the same as shown on the page:

https://www.ecommercetemplates.com/help/dynamic-tabs.asp#spry3
(picture on the left, others on the right, and description is on the right bottom)

Mine is picture on the top, and then name, price and bottom description.

So, how to set the related table contents layout?
Thanks.

Best regards,
John

Andy
ECT Moderator

95440 Posts

Posted - 02/26/2018 :  00:29:17  
Hi John

This is what we use in the css file

div.reltabimage{float:left;width:60px;margin-top:8px;}
div.reltabimage img{width:50px;height:auto;padding:6px;}
div.reltab{width:100%;float:left;}
.reltabname{float:left;width:90%;font-size:14px;padding:10px;border-bottom:1px solid #ccc;}
.reltabdescription{font-size:13px;}

for a result like this

https://www.ecommercetemplates.com/Premium-Responsive-Design-Natura

Andy

Please feel free to review / rate our software

leejon
Starting Member

25 Posts

Pre-sales questions only
(More Details...)

Posted - 02/26/2018 :  16:48:52  
Hi Andy,

Thank you for your reply, but I still cannot manage to set it up:

two related products descriptions are mixed together,
product name is at the bottom of the product description instead of at the top,


Can you send me the code for below temple?
[img]https://www.ecommercetemplates.com/ectimages/screens/spry3.gif[/img]

I would like it shows as below:

The prod image on the left,
prod id, prod name, description on the right,
There is a segmentation line between each products.

Thanks.

John Lee

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 02/26/2018 :  19:45:02  
Hi John, could you give us a link to the page with the related items so we can take a look.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

leejon
Starting Member

25 Posts

Pre-sales questions only
(More Details...)

Posted - 02/26/2018 :  20:10:37  
Hi Sinbad,

Please refer to below link:

http://www.lyintlcorp.com/proddetail.php?prod=M-808

Thanks.

John Lee

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 02/26/2018 :  20:50:34  
Hi can you post what you have in the vsadmin/includes.php for the related and what you have setup on that product for the tabs.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

leejon
Starting Member

25 Posts

Pre-sales questions only
(More Details...)

Posted - 02/26/2018 :  21:36:40  
Hi Sinbad,

Please refer to below which in includes.php:

$crosssellaction='related';
$relatedproductsbothways=TRUE;
$csrelatedtitle="You may be also interested with below products:";
$crosssellcolumns=3;
$crosssellrows=2;

$enablecustomerratings=TRUE;

$defaultdescriptiontab='<ecttab title="Description">';
$ecttabsspecials='<ecttab title="Reviews" special="reviews"><ecttab title="Related" special="related">';
$relatedtabtemplate='<div class="reltabimage">%img%</div>Product ID: %id%<br><div class="reltabname">%name%<br></div><div class="reltabdescription">%description%</div>';

And, I also added below codes in the SpryTabbedPanels.css

div.reltab{width:100%;float:left;}
div.reltabimage{float:left;width:125px;margin-top:8px;}
div.reltabimage img{width:94px;height:auto;padding:6px;}
.reltabname{float:left;width:96%;font-size:10px;padding:10px;border-bottom:1px solid #ccc;}
.reltabdescription{font-size:10px;}

Thanks.

Andy
ECT Moderator

95440 Posts

Posted - 02/27/2018 :  00:08:23  
It looks like your related items aren't in the tabbed panel at all so on proddetail.php can you remove the inccrosssell line as you wouldn't want that if you want the related products to appear in with the tabs.

Andy

Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000