Jump to content



Member Since 05 Aug 2011
Offline Last Active Aug 18 2013 06:04 PM

#143841 Order Search

Posted by solesurvivor on 28 August 2012 - 02:56 PM

I figured it out. Its not the best solution but it works for my needs.

EDIT customer/common_templates/section.tpl.

{if $smarty.cookies.$id || $collapse}
{assign var="collapse" value=true}
{assign var="collapse" value=false}


{if $smarty.cookies.$id || $collapse}
{assign var="collapse" value=true}
{assign var="collapse" value=true}

#143786 Ship Date?

Posted by solesurvivor on 28 August 2012 - 03:37 AM

Am I missing something or does the date a shipment was created not display on the customer front end under the Shipment Information tab? I did print_r of the shipment array and there is no date value there as well.

Anyone have a clue how to get this information to show up for the customer? Seems kind of important for the customer to know the date a shipment was shipped.

#142341 Tell a friend an earn points?

Posted by solesurvivor on 07 August 2012 - 04:33 AM

Is this possible in cscart? I need to add a refer a friend form and link my customers can use to tell others. I know I could hack this requirement with the affiliate program but I want something simple for my customers to use. We dot need or want to use the affiliate addon.

#142081 FREE Product Variant Icon Images Mod

Posted by solesurvivor on 02 August 2012 - 07:31 PM

I had the need to display a nice box for each product option variant when there was no variant image icon and thought I would share the love.

Here is a preview of what it looks like on our site:

Attached File  variant_option_boxes.jpg   44.01KB   396 downloads

So you want this mod? Follow the directions below.

in customer/views/product/components/product_options.tpl
(This will allow boxes of option variants to show up when an option variant image does not exist.)

{elseif $details_page}
{if $var.variant_id == $selected_variant}{assign var="_class" value="product-variant-text-selected"}{else}{assign var="_class" value="product-variant-text-unselected"}{/if}
<span class="hand {$_class} object-image" obj_id="variant_image_{$obj_prefix}{$id}_{$po.option_id}_{$var.variant_id}" onclick="fn_set_option_value('{$obj_prefix}{$id}', '{$po.option_id}', '{$var.variant_id}'); void(0);">{$var.variant_name}</span>


{if $var.image_pair.image_id}
{if $var.variant_id == $selected_variant}{assign var="_class" value="product-variant-image-selected"}{else}{assign var="_class" value="product-variant-image-unselected"}{/if}
{include file="common_templates/image.tpl" class="hand $_class object-image" show_thumbnail="Y" images=$var.image_pair object_type="product_option" image_width="50" image_height="50" obj_id="variant_image_`$obj_prefix``$id`_`$po.option_id`_`$var.variant_id`" image_onclick="fn_set_option_value('`$obj_prefix``$id`', '`$po.option_id`', '`$var.variant_id`'); void(0);"}

Add the following CSS to your stylesheet:

.product-variant-text-unselected,.product-variant-text-selected {
font-size: 12px;
line-height: 30px;
max-height: 30px;

border: dashed black 1px;

#141042 Memcache

Posted by solesurvivor on 19 July 2012 - 03:50 AM

Does Memcache work with version 3 or are my only options file MySQL and SQLite?


Posted by solesurvivor on 10 July 2012 - 04:25 PM

Please provide a url or some additional information as to what your problem is.

@Scott_c: lol

#133003 Nivo Slider Add On

Posted by solesurvivor on 12 March 2012 - 02:00 PM

see yourskinname\customer\addons\banners_slideshow\hooks\index\scripts.post.tpl

you need to to edit 'animSpeed'
Make sure to clear your cache after doing the edit.

#130578 FREE Addon: Order History

Posted by solesurvivor on 03 February 2012 - 07:14 PM

Each time an orders status is changed it is documented along with the date/time, user, status, and any customer notes currently present.

1.1 - Fixed database query error
1.1.2 - This version is only compatible with version 3.
- Integrated multilanguage support (thanks @tecchese )
- Upgraded to support version 3. (the only changes were the name of the customer hook from
tabs_extra to simply tabs., and the change of the base template to basic.

Attached File  OrderHistory1.1.zip   143.84KB   139 downloads
Attached File  OrderHistory-1-1-2.zip   143.92KB   260 downloads

Attached Files

#130032 Include .tpl on product page based on products brand ID

Posted by solesurvivor on 26 January 2012 - 10:03 PM

try changing your from in your first foreach to $product.product_features

#126902 Unique add to cart button class for product page, another for category pages?

Posted by solesurvivor on 29 November 2011 - 02:16 AM

Is there any way to create unique classes for add to cart buttons on the product page, and another class for the buttons on the category list pages?

I know the cart_add_block_1 class is dynamically generated based on product ID. Using smarty is there an if condition I could place within the class=" " attribute area that checks if this is a category page add custom_cat_add class, and if a product page custom_prod_add class?

Yes do something like below. YOu may also want to use the {$mode} variable as well.

{if $controller == 'categories'}
code here

#126782 Hosting Advice

Posted by solesurvivor on 26 November 2011 - 05:24 PM

I would suggest anyone thinks twice about Wired Tree. I was so excited about
using them after the glowing feedback I had been given from others so I
setup a VPS with 1024 megs of ram. I Installed CS-Cart and it was SO SLOW.
For weeks I went back and forth with support as to what the problem was and
they just suggested it was CS-Cart. Finally they determined I had some bad
neighbors on my VPS but it took a lot to get to that point.

So they switched me to a new VPS, the performance was just as bad.
Still they told me it was CS-Cart. So I accepted that explanation
because I didn't know any better. Meanwhile I had some other third
parties take a look and they saw performance issues as well,
sometimes... the weird thing is wired tree seems unpredictable
on performance (at least for me). Sometimes my page loads in 3-6 seconds
sometimes in 10 as much as 15. This was just installing the CSC-DEMO,
I even added Smarty Optimizer, and setup the min tool.

I took the same site and loaded it on my Spry.com VPS with only 512 megs
of ram and its loading flawless in 1-4 seconds always. Needless to say I
am canceling my Wired Tree VPS. I was so excited about working with them
because they offer managed service and Spry does not plus they were so friendly.

This may just be a fluke experience but i did want to put it out there
in case anyone else has the same issues. Perhaps my problem was I needed
to pony up more money for a Hybrid VPS I hear they might be better.

#124985 Nivo Slider Add On

Posted by solesurvivor on 31 October 2011 - 02:46 PM

excuse me, im newbie in cs cart and i get some problems like that,too. i dont know how to solve that.
Can u help me to solve my problem..???

thanks before for ur attention...... :)

Everyone. My apologies I left a hack in the JS code that applied only to me. To fix the width issue simply
remove line 5 of \yourskin\customer\addons\banners_slideshow\hooks\index\scripts.post.tpl.


I will have updated the download file as well to reflect this change if
you want to just re-download it. If you have any problems let me know.

#124137 Smarty Cache (Truly Static Cache?)

Posted by solesurvivor on 20 October 2011 - 02:38 PM

Is it possible to use Smarty Cache where basically every page is served statically if the customer is a guest?

Our previous shopping cart had this feature. It used Smarty Cache and
generated static html files using Smarty Cache (http://www.smarty.ne...csv2/en/caching)
to ensure optimal performance.

Anyone have any luck setting this up or even know if this is possible or not?

#119794 Nivo Slider Add On

Posted by solesurvivor on 18 August 2011 - 03:20 PM

I would like to offer my first attempt at an Add On for free to the community. This is a modified version of Glen's (user: sixnin9) banner_slidershow. I have modified it to use Nivo Slider. It is using version 2.2.1.

I would like to be able to add the settings in hooks/index/scripts.post.tpl directly in the add on so they can be changed at admin and not in the code but i have no clue how. If anyone could advise me how that would be awesome!

Any questions please let me know.

CS-Cart Nivo Slider Add On