<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[BCS Engineering]]></title>
<link><![CDATA[https://support.bcsengineering.com/]]></link>
<description />
<generator><![CDATA[Kayako case v4.66.2]]></generator>
<item>
<title><![CDATA[How do I generate new download keys for an entire order?]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/108]]></link>
<guid isPermaLink="false"><![CDATA[a3c65c2974270fd093ee8a9bf8ae7d0b]]></guid>
<pubDate><![CDATA[Thu, 04 Mar 2010 16:55:15 -0500]]></pubDate>
<dc:creator><![CDATA[Nick Poindexter]]></dc:creator>
<description><![CDATA[On the Admin -> Orders page you will need to change the order to queued, and then back to processed to generate a new set of download keys.

The new download keys will be emailed to the customer along with a copy of the invoice.]]></description>
<content:encoded><![CDATA[On the Admin -> Orders page you will need to change the order to queued, and then back to processed to generate a new set of download keys.<br />
<br />
The new download keys will be emailed to the customer along with a copy of the invoice.]]></content:encoded>
</item>
<item>
<title><![CDATA[[Modification] I ship hard goods along with my egoods. How can I ...]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/109]]></link>
<guid isPermaLink="false"><![CDATA[2723d092b63885e0d7c260cc007e8b9d]]></guid>
<pubDate><![CDATA[Thu, 04 Mar 2010 16:55:43 -0500]]></pubDate>
<dc:creator><![CDATA[Nick Poindexter]]></dc:creator>
<description><![CDATA[As long as the product has a weight above 0, or freight set above $0 you can use the following modification:

include/func/func.cart.php

Find this code:

if ($products_array["fulldescr"] == strip_tags($products_array["fulldescr"]))
               ...]]></description>
<content:encoded><![CDATA[As long as the product has a weight above 0, or freight set above $0 you can use the following modification:<br />
<br />
include/func/func.cart.php<br />
<br />
Find this code:<br />
<br />
if ($products_array["fulldescr"] == strip_tags($products_array["fulldescr"]))<br />
                $products_array["fulldescr"] = str_replace("\n", "<br />
", $products_array["fulldescr"]);<br />
<br />
<br />
After insert:<br />
<br />
           // Charge shipping for egoods customization //<br />
           if ($products_array['weight'] > 0 || $products_array['freight'])<br />
                $products_array['distribution'] = '';<br />
           // End customization //<br />
<br />
]]></content:encoded>
</item>
<item>
<title><![CDATA[I'm receiving a file is corrupt error when download a file using ...]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/110]]></link>
<guid isPermaLink="false"><![CDATA[5f93f983524def3dca464469d2cf9f3e]]></guid>
<pubDate><![CDATA[Thu, 04 Mar 2010 16:56:37 -0500]]></pubDate>
<dc:creator><![CDATA[Nick Poindexter]]></dc:creator>
<description><![CDATA[A corrupt file can be caused by a number of different items.

1. Whitespace being sent out of the PHP file before the contents of the zip file. If you see this message on your site sometimes "If the page is not updated in 2 seconds, please follow this l...]]></description>
<content:encoded><![CDATA[A corrupt file can be caused by a number of different items.<br />
<br />
1. Whitespace being sent out of the PHP file before the contents of the zip file. If you see this message on your site sometimes "If the page is not updated in 2 seconds, please follow this link" this may be the cause. Here are instructions for finding this extra whitespace: http://www.alteredcart.com/support.php?section=knowledgebase&articleid=52<br />
<br />
2. You may be using Zlib compression. This can corrupt the .zip file.<br />
<br />
--If zlib is enabled in the .htaccess file use the following code to disable this for the download.php file:<br />
<br />
<FilesMatch download.php><br />
php_flag zlib.output_compression Off<br />
</FilesMatch><br />
<br />
<br />
-- If zlib is enabled in your php.ini file you can disabled it by adding this code to the top of the download.php file:<br />
<br />
@ini_set('zlib.output_compression', '0');<br />
<br />
<br />
3. Your site is timing out during the download. If the .zip file download is smaller than the file on the server the site is timing out before the entire contents of the download have been received by the customer. You can try to add this to the top of the download.php file to extend the execution time, but some web hosts disable this:<br />
<br />
@set_time_limit(1000); ]]></content:encoded>
</item>
<item>
<title><![CDATA[How do I include the downloads when cloning a product?]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/111]]></link>
<guid isPermaLink="false"><![CDATA[698d51a19d8a121ce581499d7b701668]]></guid>
<pubDate><![CDATA[Thu, 04 Mar 2010 16:57:09 -0500]]></pubDate>
<dc:creator><![CDATA[Nick Poindexter]]></dc:creator>
<description><![CDATA[Make the following edits to the include/product_clone.php file:

Find this code near line 234:

func_array2update("products", $query, "productid = '$new_productid'");


After insert this code:

// Download Expander :: www.alteredcart.com //
if (...]]></description>
<content:encoded><![CDATA[Make the following edits to the include/product_clone.php file:<br />
<br />
Find this code near line 234:<br />
<br />
func_array2update("products", $query, "productid = '$new_productid'");<br />
<br />
<br />
After insert this code:<br />
<br />
// Download Expander :: www.alteredcart.com //<br />
if ($active_modules['Download_Expander']){<br />
<br />
$downloads = func_query("SELECT * FROM xcart_downloads WHERE productid=".intval($product_info['productid'])." AND variantid=0");<br />
<br />
if ($downloads){<br />
      foreach ($downloads as $key => $val){<br />
           db_query("INSERT INTO xcart_downloads (productid, variantid, display_name, path, size) VALUES (".intval($new_productid).", 0, '".addslashes($key['display_name'])."', '".addslashes($val['path'])."', '".addslashes($val['size'])."')");                    <br />
      }<br />
}<br />
}<br />
// End Download Expander :: www.alteredcart.com //<br />
<br />
<br />
<br />
Find this code near line 318:<br />
<br />
$v['productcode'] = func_generate_sku($c_login, substr($productcode, 0, 28));<br />
$v = func_addslashes($v);<br />
$variantid = func_array2insert('variants', $v);<br />
<br />
<br />
After insert this code:<br />
<br />
// Download Expander :: www.alteredcart.com //<br />
if ($active_modules['Download_Expander']){<br />
<br />
$downloads = func_query("SELECT * FROM xcart_downloads WHERE variantid=".intval($old_variantid));<br />
<br />
if ($downloads){<br />
      foreach ($downloads as $key => $val){<br />
           db_query("INSERT INTO xcart_downloads (productid, variantid, display_name, path, size) VALUES (".intval($v['productid']).", ".intval($variantid).", '".addslashes($key['display_name'])."', '".addslashes($val['path'])."', '".addslashes($val['size'])."')");                    <br />
      }<br />
}<br />
}<br />
// End Download Expander :: www.alteredcart.com //]]></content:encoded>
</item>
<item>
<title><![CDATA[ I receive an &quot;Order processing error ! Payment processor can not...]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/199]]></link>
<guid isPermaLink="false"><![CDATA[84d9ee44e457ddef7f2c4f25dc8fa865]]></guid>
<pubDate><![CDATA[Wed, 01 Dec 2010 10:07:20 -0500]]></pubDate>
<dc:creator><![CDATA[- NA -]]></dc:creator>
<description><![CDATA[Somewhere around X-Cart version 4.1.8 or later, X-Cart changed the include/payment_method.php file introducing a bug that will not allow a $0 order. When a $0 order is submitted there is an error:

Order processing error !
Payment processor can not pro...]]></description>
<content:encoded><![CDATA[Somewhere around X-Cart version 4.1.8 or later, X-Cart changed the include/payment_method.php file introducing a bug that will not allow a $0 order. When a $0 order is submitted there is an error:<br />
<br />
Order processing error !<br />
Payment processor can not process your order. Data is invalid.<br />
<br />
This error will occur with the One Page Checkout enabled or disabled. This is core X-Cart file order processing logic needs to be changed/fixed. <br />
<br />
To fix:<br />
<br />
Open include/payment_method.php:<br />
<br />
Find this code near line 71:<br />
<br />
<br />
# <br />
# Get userinfo and cart products and output an error if empty <br />
# <br />
<br />
<br />
After insert:<br />
<br />
<br />
if ($cart['total_cost'] == 0){ <br />
<br />
if (empty($userinfo) || func_is_cart_empty($cart)) <br />
      func_header_location($xcart_web_dir.DIR_CUSTOMER."/error_message.php?error_ccprocessor_baddata"); <br />
<br />
} else { <br />
<br />
Find this code near line 88:<br />
<br />
<br />
$userinfo = func_array_merge($userinfo,$HTTP_POST_VARS); <br />
<br />
<br />
BEFORE THIS enter:<br />
<br />
<br />
} <br />
<br />
<br />
<br />
--------------------------------------------------------------------------------<br />
<br />
Related Articles<br />
<br />
•I'm receiving this error on the checkout page: "There was an error loading the shipping options, please try again. (You may need to refresh your browser.)" <br />
•How do I add the On Sale discounts to the Related or Upselling products on my main product display page? <br />
•The On Sale module discounts aren't applied when using Google Checkout or Gift certificates. <br />
•I've contacted X-Cart tech support about a problem and they say the problem is in the One Page Checkout. How can I tell what is an X-Cart issue vs. a One Page Checkout issue? <br />
<br />
--------------------------------------------------------------------------------<br />
<br />
Still Have Questions? If you are unable to find a solution in the knowledgebase please open a support ticket for a personal response from alteredCart support.<br />
<br />
]]></content:encoded>
</item>
<item>
<title><![CDATA[How do I change the default download estimate connection speed?]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/200]]></link>
<guid isPermaLink="false"><![CDATA[3644a684f98ea8fe223c713b77189a77]]></guid>
<pubDate><![CDATA[Wed, 01 Dec 2010 10:08:33 -0500]]></pubDate>
<dc:creator><![CDATA[- NA -]]></dc:creator>
<description><![CDATA[to one of the following:

56kbs
640kb
1.2mbs
4mb
6mbs


--------------------------------------------------------------------------------

Related Articles

•I'm receiving a file is corrupt error when download a file using the Download Expande...]]></description>
<content:encoded><![CDATA[to one of the following:<br />
<br />
56kbs<br />
640kb<br />
1.2mbs<br />
4mb<br />
6mbs<br />
<br />
<br />
--------------------------------------------------------------------------------<br />
<br />
Related Articles<br />
<br />
•I'm receiving a file is corrupt error when download a file using the Download Expander link. <br />
•How do I find files that may have extra line breaks or whitespace after the ?> in a PHP file? <br />
•The On Sale module discounts aren't applied when using Google Checkout or Gift certificates. <br />
•If a customers payment is declined, or they use PayPal Pro the customer notes are not saved, how can I save this with the users profile? <br />
<br />
--------------------------------------------------------------------------------<br />
<br />
Still Have Questions? If you are unable to find a solution in the knowledgebase please open a support ticket for a personal response from alteredCart support.<br />
<br />
]]></content:encoded>
</item>
<item>
<title><![CDATA[How do I change the image size on the download page?]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/254]]></link>
<guid isPermaLink="false"><![CDATA[c52f1bd66cc19d05628bd8bf27af3ad6]]></guid>
<pubDate><![CDATA[Tue, 04 Jan 2011 15:39:03 -0500]]></pubDate>
<dc:creator><![CDATA[- NA -]]></dc:creator>
<description><![CDATA[Open the skin1/modules/Download_Expander/download_main.tpl. And change the following:

{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_u...]]></description>
<content:encoded><![CDATA[Open the skin1/modules/Download_Expander/download_main.tpl. And change the following:<br />
<br />
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url}<br />
<br />
<br />
to:<br />
<br />
{include file="product_thumbnail.tpl" productid=$product.productid image_x=150 image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url}<br />
<br />
<br />
image_x can be any integer.<br />
<br />
Related Articles<br />
<br />
    * I'm upgrading (updating) X-Cart and I need to get the latest version of the alteredCart modules. Where can I download these?<br />
    * How can I configure the Buy Together "You have added..." page to skip the cart.php page and go directly to the checkout.<br />
    * If a customers payment is declined, or they use PayPal Pro the customer notes are not saved, how can I save this with the users profile?<br />
    * I've contacted X-Cart tech support about a problem and they say the problem is in the One Page Checkout. How can I tell what is an X-Cart issue vs. a One Page Checkout issue?<br />
<br />
]]></content:encoded>
</item>
<item>
<title><![CDATA[After installing the Download Expander the quantity option shows ...]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/274]]></link>
<guid isPermaLink="false"><![CDATA[d947bf06a885db0d477d707121934ff8]]></guid>
<pubDate><![CDATA[Wed, 04 May 2011 15:41:41 -0400]]></pubDate>
<dc:creator><![CDATA[- NA -]]></dc:creator>
<description><![CDATA[To prevent the quantity box from displaying make the following edit to your include/search.php file:

Find this code near line 966:

$products[$k]['appearance'] = func_get_appearance_data($products[$k]);


BEFORE insert:

// Download Expander :: ...]]></description>
<content:encoded><![CDATA[To prevent the quantity box from displaying make the following edit to your include/search.php file:<br />
<br />
Find this code near line 966:<br />
<br />
$products[$k]['appearance'] = func_get_appearance_data($products[$k]);<br />
<br />
<br />
BEFORE insert:<br />
<br />
// Download Expander :: www.alteredcart.com<br />
if ($active_modules['Download_Expander']){<br />
require_once $xcart_dir."/modules/Download_Expander/download_functions.php";<br />
$products[$k]['distribution'] = dlex_is_esd_assigned($v['productid'] , func_get_default_options($v['productid'], 1, @$user_account['membershipid']));<br />
}<br />
// End Download Expander]]></content:encoded>
</item>
<item>
<title><![CDATA[Why are the download keys not generated when a customer places an...]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/275]]></link>
<guid isPermaLink="false"><![CDATA[63923f49e5241343aa7acb6a06a751e7]]></guid>
<pubDate><![CDATA[Wed, 04 May 2011 15:42:31 -0400]]></pubDate>
<dc:creator><![CDATA[- NA -]]></dc:creator>
<description><![CDATA[Download keys not being generated are generally caused by one of the following:


   1. The order isn't processed. The download keys will not be generated until the order is set to processed. If you are manually processing orders be sure to first set t...]]></description>
<content:encoded><![CDATA[Download keys not being generated are generally caused by one of the following:<br />
<br />
<br />
   1. The order isn't processed. The download keys will not be generated until the order is set to processed. If you are manually processing orders be sure to first set the order to processed before it is set to complete.<br />
<br />
   2. The downloads aren't setup for this particular product or variant.<br />
<br />
   3. The installation changes to the include/func/func.order.php file are in the incorrect place or haven't been completed.]]></content:encoded>
</item>
<item>
<title><![CDATA[X-Cart isn't properly processing $0 when the cart is all egoods i...]]></title>
<link><![CDATA[https://support.bcsengineering.com/index.php?/Knowledgebase/Article/View/276]]></link>
<guid isPermaLink="false"><![CDATA[db8e1af0cb3aca1ae2d0018624204529]]></guid>
<pubDate><![CDATA[Wed, 04 May 2011 15:43:18 -0400]]></pubDate>
<dc:creator><![CDATA[- NA -]]></dc:creator>
<description><![CDATA[To insure that X-Cart 4.2.x and greater recognize the downloads when processing an order please make the following edit.

include/func/func.cart.php

Find the following code:

foreach($cart['products'] as $p) {


After insert:

// Download Expa...]]></description>
<content:encoded><![CDATA[To insure that X-Cart 4.2.x and greater recognize the downloads when processing an order please make the following edit.<br />
<br />
include/func/func.cart.php<br />
<br />
Find the following code:<br />
<br />
foreach($cart['products'] as $p) {<br />
<br />
<br />
After insert:<br />
<br />
// Download Expander :: www.alteredcart.com //<br />
global $xcart_dir, $active_modules;<br />
if ($active_modules['Download_Expander']) {<br />
require_once $xcart_dir."/modules/Download_Expander/download_functions.php";<br />
$p['distribution'] = dlex_is_esd_assigned($p['productid'], $p['options']);<br />
}<br />
// End Download Expander // ]]></content:encoded>
</item>
</channel>
</rss>