Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Border around products.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 01-03-2012, 10:05 AM
  CottonAge.com's Avatar 
CottonAge.com CottonAge.com is offline
 

eXpert
  
Join Date: Jan 2008
Location: Orange County, California
Posts: 244
 

Default Re: Border around products.

can you provide a link to your store so we can take a look at the layout
Quote:
I want to individual product border in category,featured product and manufacturer page.I want to get this for 4.4.2 Pro.

How to achieve that?
__________________
CottonAge.com - v4.4.4 - Gold
Mirko.com - v4.1.12 - Gold

We sell Bathrobes, Slippers, Towels & more at wholesale prices...
Reply With Quote
  #22  
Old 01-03-2012, 08:09 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Border around products.

There is no easy explanation for this.

You need to strip out the cell padding and cell spacing in your tables.

Then insert a spacer TD using smarty to only insert the space between the first and second and second and third but not after the third TDs. This assumes you use a 3 column layout.

so...
Code:
{if !$smarty.foreach.foo.iteration % 3 = 0}<td>&nbsp;</td>

then placed borders on the left side of the TDs that hold the product info.

now use a variation of above code to place a border on the right of only the last TD in the product foreach array.

Now just place a new set of TD in the product array to hold the top and bottom borders.

Hope this kinda helps, may have left out a step or two. I'm exhausted so I may revisit this in the AM.
__________________
xcart 5.1.2
Reply With Quote
  #23  
Old 01-04-2012, 12:35 AM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Border around products.

Hi,
Thanks for your reply.

But in 4.4 it is difficult to code.Is it possible to give me exact codes for my artistictune business theme?

Thanks again.
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote
  #24  
Old 01-06-2012, 12:07 AM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Border around products.

I have done this by myself.I do not know why we are member of forum??

Forum is a place where everyone shares their codes to everyone and should help and co operate.But everyone demand me pricing for a small modifications ???

Great !!!

Thanks for your previous help !!!

Thanks,
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote
  #25  
Old 01-06-2012, 12:38 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Border around products.

Quote:
Forum is a place where everyone shares their codes to everyone and should help and co operate

It is good to know you feel this way and we can expect to see you post your code to help others.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
JWait (01-07-2012)
  #26  
Old 01-06-2012, 12:38 AM
 
mrerotic mrerotic is offline
 

eXpert
  
Join Date: Feb 2009
Posts: 264
 

Default Re: Border around products.

xtech - I completely agree with you. I think everyone has grown the mentality of charging people for everything they do after trying to get answers so many times from X-cart staff themselves when 99% of the time they wont even assist you unless you purchase support points.

X-cart is a great product and I still use it, however I have really given up on the forum and on x-cart staff after spending thousands and I mean thousands of dollars on them to help me. Then to find 6 months later that my support has run out for what I just paid thousands for and they wont answer a simple question without me adding more money.

Custom Modules - are however different. I repect the people who spent the time to develope new modules for xcart and I do think there should be a price on many of them but there are many that should just be out there for all x-cart members free of charge. Look at wordpress for example or oscommerce. Numerous people have spent hours and hours developing modules to help compliment the software and they dont charge for it. Why can't x-cart look at this and say wow. If we help people understand the code to achieve new modules then we will sell more licenses because our ecommerce software will be the best on the market for all of the members helping them achieve the best software available.

Just my 2 cents!
__________________
x-cart 4.2.3
AlteredCart Smart Search
Auto Featured Products Mod (Personal Mod)
BCSE Product Importer Pro & Drop Shipper Pro
CDSEO Pro
CMS EZRecommends
EE slider login (Personal Mod)
Next Prev Link Mod (Customized)
ShadowBox Detailed Images (Personal Mod)
Shop By Price (Customized)
Social Media (Personal Mod)
Switch Layout View (Personal Mod)
Special Offers
Testimonials (Personal Mod)
Whats New (Customized)
Reply With Quote
  #27  
Old 01-06-2012, 01:34 AM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Border around products.

Add-
style="width: {$cell_width}%; border-top:1px solid #cccccc; border-left:1px solid #cccccc; border-right:1px solid #cccccc; border-top-left-radius:10px; border-top-right-radius:10px;" in each td and after each td ends add

<td><img src="skin/common_files/images/spacer.gif" width="10" height="5"/></td>

-This code is for 4.4.2 Pro products_t.tpl.I have researched and try and after that successfully done.
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote
  #28  
Old 01-06-2012, 07:14 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Border around products.

can you show us a link to the finished product?

Ash
__________________
xcart 5.1.2
Reply With Quote
  #29  
Old 01-06-2012, 07:21 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Border around products.

lol you are raking me over the coals via PM when I pretty much told you how to do this in the above post.

You said your HTML and Smart experience were limited so I offered to do it for you.

I of course can't do it for free, since I run a business. Sheesh... tough crowd.
__________________
xcart 5.1.2
Reply With Quote
  #30  
Old 01-06-2012, 07:28 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Border around products.

@ arw visions

Get use to it

Sure you are already
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:31 AM.

   

 
X-Cart forums © 2001-2020