X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart - reBOOT - Responsive Template (https://forum.x-cart.com/showthread.php?t=66570)

elmirage001 09-14-2014 06:10 PM

Re: X-Cart - reBOOT - Responsive Template
 
Hi Phil,

Thanks for the help today and for posting the answer in the v3 FAQ Page! I was trying to do it the hard way :-)

v3 is so fun to work with and my new site is coming out better than expected. Both visually and performance wise.

I'll post more later but now back to work...

Paul

Quote:

How can I truncate a section of text?

Add class="expander" to your DIV or P element.
<div class="expander">Your long piece of text</div>
By default it truncates to 200 characters. To change, edit skin/reboot/js/reboot.js ...
slicePoint: 200,


Soft-Reseller.com 09-16-2014 04:30 AM

Re: X-Cart - reBOOT - Responsive Template
 
Hello

http://forum.x-cart.com/showthread.php?t=70003

Best Regards

xtech 09-17-2014 12:19 AM

Re: X-Cart - reBOOT - Responsive Template
 
Quote:

Originally Posted by PhilJ
Simple PHP form.


Anyway to store the information in database?

PhilJ 09-17-2014 06:09 AM

Re: X-Cart - reBOOT - Responsive Template
 
Quote:

Anyway to store the information in database?
I will revise the addon so that it stores the details in the database, but won't be for a couple weeks.

PhilJ 09-17-2014 06:49 AM

Re: X-Cart - reBOOT - Responsive Template
 
NEED THE TEMPLATE FAST?

CLICK HERE FOR INSTANT DOWNLOAD

(Developer Licence Only)

bullfrog 09-17-2014 03:13 PM

reBOOT v3 product image aspect ratio issue
 
I have two v3 sites running, plus a dev site, and all have the following issue. Settings on the dev site were exaggerated a bit for emphasis.

Basic product images are not keeping their aspect ratios under certain conditions.

To see, go to the dev site at [link removed].

I changed the images from a new X-Cart installation to be round footballs (soccer balls) to emphasize aspect ratio.

On the homepage, thumbnail images are sized as they should be. Ignore that some say jpg, gif, or png, as I was also testing to see if image format came into play. It does not.

Image sizes in X-Cart admin are set to be 450px max width, 800px max height. The uploaded images are 600px square. The reBOOT image box for the area seems to be about 340px. These are the dev site exaggerated settings. So my working sites don't look so distorted, I changed the max image width to be 340px.

For a basic product (Anna Karenina), the image is stretched vertically. If the image was entered as a detail image or a variant image, there is no stretching, and the image is resized properly. If I switch the template to be the X-Cart Ideal Responsive template, there is no stretching in any instance.

Basic product:
http://www.zzzzap.com/images/test/test-basic-product.sm.jpg

Changing to X-Cart template and refreshing:
http://www.zzzzap.com/images/test/test-xcart-template.jpg

Detail images (and variant images), show normally:
http://www.zzzzap.com/images/test/test-detail-image.sm.jpg

Is there a fix for this?

I would also like to switch the widths of the image container and the Detail/Options container so that the image is larger on a desktop monitor. Or at least make them the same width. Is there a easy way to do that? With the options we use there is too much blank space on the right.

Thanks.

EDIT Sept 26, 2014: removed link to test site after issue solved.

elmirage001 09-17-2014 06:03 PM

Re: X-Cart - reBOOT - Responsive Template
 
Hi Bullfrog,

http://www.zzzzap.com/home.php?shopkey=reBOOT_3_test is not set as reBOOT v3 so I could not verify your results.

I'm using template product_style_1.tpl and you'll see that it's set up at
Code:

<div class="col-md-5">
.
.

.
.
<div class="col-md-7">


to increase the image container and and decrease the detail/Options container change to

Code:

<div class="col-md-7">
.
.

.
.
<div class="col-md-5">


This is what I've done on my site. You can play around between 8/4 or 7/5 or 6/6 to see what works for you.

Send me a PM when you've switched back to reBOOT v3 if Phil has not gotten back to you and I'll take a look a the CSS you're using for the aspect ratio on your images.

Paul

xtech 09-17-2014 10:10 PM

Re: X-Cart - reBOOT - Responsive Template
 
Hello Phil,
In my I have found two issues-
1) I have installed X-Cart_Reboot_Homepage_Subscribe_Popup in my 4.6.1 Platinum with reboot and it is not working.When I enter any email id it is always saying No email address!
2)Also in live site of product details page.At the bottom of the page If I click any tab it is showing http://www.yourstore.com/#product_tabs1 or http://www.yourstore.com/#product_tabs2 but if we refresh the page it is going to home page instated of that details page why this is happening?I have enabled clean url.Without clean url it is working fine.

What is the issue here?

Thanks,
xtech

PhilJ 09-18-2014 04:14 AM

Re: X-Cart - reBOOT - Responsive Template
 
bullfrog, having changed the maximimum image sizes, have you regenerated the image cache in tools > maintenance?

In skin/reboot/customer/main/product_style_1.tpl

Try replacing...
Code:

{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type noborder=true}

With...

Code:

{include file="product_thumbnail.tpl" productid=$product.image_id product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type noborder=true}

PhilJ 09-18-2014 04:19 AM

Re: X-Cart - reBOOT - Responsive Template
 
xtech,

1) You may have some code errors, check the console using Firebug. Maybe try reinstalling the addon.

2) Check the v2 FAQ - "When I click on a product tab or accordion, the page slug disappears, why?"


All times are GMT -8. The time now is 02:19 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.