Claudia M
Member-
Posts
847 -
Joined
-
Last visited
-
Days Won
13
Everything posted by Claudia M
-
I reinstalled 6.1.3 and both the dashboard and maintenance are showing 6.1.3 now. I do have 2 admin folders checking in control panel. One just admin the other with my new admin prefix. the first 2 lines of the includes/globals.inc.php: $glob['adminFile'] = 'admin_xxxxxx'; $glob['adminFolder'] = 'admin_xxxxxx - different than above'; When I click on add product / images I still get the old screen - none of the options in the 6.1.3 upgrade to create a folder, etc. Am I missing something?
-
My ziparchive is fine. I forced the upgrade and when that didn't do anything I manually installed 6.1.3 again. Cleared my history in Firefox several times. Still ... In dashboard - store overview - it says CubeCart version 6.1.2 In maintenance - upgrade - is says I'm using the latest version and 6.1.3 is shown I've also noticed that I don't have some of the upgrades. My filemanger is the older version - doesn't have the new add product / images create folder, etc..... I tried in IE and got the same thing Also when I clear the browsers cache I get the red bar "you're running 6.1.2 but 6.1.3 is available. I click upgrade now and it takes me to maintenance where is says I am up to date.
-
Thought I upgraded to 6.1.3 but now I'm not so sure: In dashboard - store overview - it says CubeCart version 6.1.2 In maintenance - upgrade - is says I'm using the latest version and 6.1.3 is shown I've also noticed that I don't have some of the upgrades. My filemanger is the older version - doesn't have the new add product / images create folder, etc..... On a positive note, the problem I had in a previous post where I wasn't informed on the dashboard of new version or extensions available has fixed itself. Also this - on the release notification: Important Release Notes From 6.1.2 CubeCart requires ZipArchive which replaces the old PclZip library which hasn't been developed since 2009. Please verify that your PHP configuration has ZipArchive support prior to upgrading. We have attached a PHP script (ziparchive-check.php) which can be used to verify prior to upgrade. How do you use that ziparchive-check.php? Thanks in advance, Claudia
-
Upgrade Notification - Add Admin Fields
Claudia M replied to Claudia M's topic in Customising Look & Feel
I haven't edited the dashboard code - I do have file compare software. I'll try that. Thanks, Rosemary! -
Upgrade Notification - Add Admin Fields
Claudia M replied to Claudia M's topic in Customising Look & Feel
Good idea Brian. I'll look into that when I upgrade! Thanks, Claudia -
My admin is not telling me an upgrade is available on the dashboard or in maintenance. Nor is it showing recent marketplace extensions. The only way I knew was by going to this forum and my other store. Also, in looking at this post Additional Field Similar to Cubecart in the Skin and Templating forum I have some questions regarding how I added my additional fields. If it's not the correct way to do it, now is the time to rectify it as the code has to be modified when I upgrade. Here is basically what I did, without going into much detail. 1. Created the following in the inventory database - one each for item age, item size, item mfg, item location: Type: varchar (30) See Above collaltion: ut8_unicode_ci Null: no Default: none Attributes: Blank 2. In the file /admin/sources/products.index.inc.php I added the following after 'translations' => $lang['translate']['title_translations'], 'item_age' => "Item Age", 'item_size' => "Item Size", 'item_mfg' => "Item Mfg", 'item_location' => "Item Location", 3. In the file /admin/skins/default/template/products.index.php I added the following after <th nowrap="nowrap">{$THEAD.updated}</th> <th nowrap="nowrap">{$THEAD.item_location}</th> 4. Since I don't use the translation column, I made the following changes: <td align="center"> {foreach from=$product.translations item=translation} <a href="{$translation.link}"><img src="language/flags/{$translation.language}.png" alt="{$translation.language}" /></a> {/foreach} </td> I Changed to: <td align="center">{$product.item_location}</td> <td align="center">{$product.product_weight}</td> 5. Changed a couple of Colspan to fix code change 6. Below <div><label for="product_code">{$LANG.catalogue.product_code}</label><span><input name="product_code" id="product_code" class="textbox" type="text" value="{$PRODUCT.product_code}"></span></div> <div><label for="product_code_auto">{$LANG.catalogue.product_code_auto}</label><span><input name="product_code_auto" id="product_code_auto" type="hidden" class="toggle" {$PRODUCT.auto_code_checked}> <input name="product_code_old" id="product_code_old" type="hidden" value=""> </span></div> I added: ( And changed maxlength for some ) <div><label for="item_age">Item Age</label><span><input name="item_age" id="item_age" class="textbox" type="text" value="{$PRODUCT.item_age}" maxlength="30" ></span></div> <div><label for="item_size">Item Size</label><span><input name="item_size" id="item_size" class="textbox" type="text" value="{$PRODUCT.item_size}" maxlength="50" ></span></div> <div><label for="item_mfg">Item Mfg</label><span><input name="item_mfg" id="item_mfg" class="textbox" type="text" value="{$PRODUCT.item_mfg}" maxlength="50" ></span></div> <div><label for="item_location">Item Location</label><span><input name="item_location" id="item_location" class="textbox" type="text" value="{$PRODUCT.item_location}" maxlength="30" /></span></div> <div><label for="product_weight">{$LANG.catalogue.product_weight}</label><span><input name="product_weight" id="product_weight" class="textbox number" type="text" value="{$PRODUCT.product_weight}"></span></div> 7. Finally I moved this no longer used section: <div> <label for="manufacturer">{$LANG.catalogue.title_manufacturer}</label> <span> <select name="manufacturer" id="manufacturer" class="textbox" type="text"> <option value="">{$LANG.form.none}</option> {foreach from=$MANUFACTURERS item=manufacturer} <option value="{$manufacturer.id}"{$manufacturer.selected}>{$manufacturer.name}</option> {/foreach} </select> </span> </div> <div><label for="condition">{$LANG.catalogue.condition}</label> <span> <select name="condition" id="condition" class="textbox" type="text"> <option value="new" {if $PRODUCT.condition == 'new'}selected="selected"{/if}>{$LANG.catalogue.condition_new}</option> <option value="used" {if $PRODUCT.condition == 'used'}selected="selected"{/if}>{$LANG.catalogue.condition_used}</option> <option value="refurbished" {if $PRODUCT.condition == 'refurbished'}selected="selected"{/if}>{$LANG.catalogue.condition_refurbished}</option> </select> </span> </div> To just above this as all these fields are not used <div><label for="upc_code">{$LANG.catalogue.product_upc}</label><span><input name="upc" id="upc" class="textbox" type="text" value="{$PRODUCT.upc}" maxlength="20"></span></div> Is all this okay or should I have done it differently? Thanks in advance for any and all help Claudia
-
Thanks Guys!! This is close - may work. Claudia
-
Hi, Is there any way to create a new email template that I can send thru Cubecart when it is created for one individual customer? Examples: Send an email to a one customer reminding them to pay, Send an email to one certain customer letting them know a certain item is now available for purchase. It could basically be a blank email (except for the obvious macros) and I can change the content as needed. I also want it to show up in the email log. Thanks in advance, Claudia
-
Email Template change shipping method
Claudia M replied to Claudia M's topic in Customising Look & Feel
Thanks Brian - I'll give it a go!! -
Hi, Is there anyway to remove "Shipping: {if $DATA.ship_method}({$DATA.ship_method}){/if}" from emails and change it to Shipping: {if $DATA.ship_product}({$DATA.ship_product}){/if}? When using the All in One Shipping that wording is what is shown in the emails. Pretty unprofessional. If I change it to ship_product then the customer will know how their order was shipped since my AIOS is setup that way. Right now I just deleted {if $DATA.ship_method}({$DATA.ship_method}){/if}" from the email templates, but this isn't showing the customer what carrier was used. Thanks in advance, Claudia
-
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
The mail order form - paypal - and credit card gateways are all having trouble when I click the secure checkout button. The spinner spun and spun - and spun some more, finally I pressed the proceed button and all forms of payment when thru as they should. I did them individually. This isn't how it is suppose to work, is it? Customers may give up from all the spinning and not bother to click proceed. But if I detour the secure checkout button and click the "checkout with PayPal button" I am sent directly to PayPal ( a little slow but that might be my computer). Any ideas? (Brian) Thanks, Claudia -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
Good idea - consider if off -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
I've had orders today and PayPal Pro was used. -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
How funny!!! - I thought I had messed up something else LOL -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
Thank you so much, Rosemary, for going to all that trouble! Much appreciated. The emails I should have sent to you automatically with your "order" were returned: Partial error: "A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:" Claudia -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
I do not have the print.hash.php in the file folder. I created and opened the info.php file. What am I looking for? -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
This is what I get with debug PHP: [Notice] /home1/willow39/public_html/classes/order.class.php:558 - Undefined index: retrieve[Notice] /home1/willow39/public_html/classes/user.class.php:455 - Use of undefined constant CC_ADMIN - assumed 'CC_ADMIN'[Notice] /home1/willow39/public_html/classes/order.class.php:295 - Undefined index: taxes[Notice] /home1/willow39/public_html/classes/order.class.php:504 - Undefined variable: complete[Notice] /home1/willow39/public_html/classes/seo.class.php:492 - Undefined variable: title -
Print Order Form - Spinning, Never Proceeds
Claudia M replied to Claudia M's topic in Technical Help
I'll create the error log in your link asap For now: permissions are the same Nothing in the admin error log Here is a sample of the control panel error log: [04-Dec-2016 19:54:49 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 19:54:49 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 19:54:49 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 15:01:00 America/Louisville] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311 [04-Dec-2016 15:08:39 America/Louisville] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311 [04-Dec-2016 16:08:14 America/Louisville] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:33:25 UTC] PHP Warning: Security Warning: Illegal array key "sort%252525255Bdate_added%252525255D" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 I created the ini-custom.inc.php file and uploaded it. I already had the error_log file - that is where the above errors are -
Hi, I placed a test order today using the print order form as payment method. It says it is processing but all I get is the spinner. It never finishes processing. Any help is greatly appreciated. https://www.claudiasbargains.com Claudia
-
Previous and Next Buttons on product page
Claudia M replied to Claudia M's topic in Customising Look & Feel
I made the changes from you last post. Test did show up, but I cleared the cache anyway. Still doesn't show the prev::next This is baffling! my site is www.claudiasbargains.com if you want to look at the page source. -
Previous and Next Buttons on product page
Claudia M replied to Claudia M's topic in Customising Look & Feel
I have checked and rechecked and still this will not work for me. I followed the directions from the download file and made the change to element.breadcrumb you showed above, but it will not even show up. Any suggestions? Claudia -
Previous and Next Buttons on product page
Claudia M replied to Claudia M's topic in Customising Look & Feel
so it doesn't matter if this line in the getCategoryProducts() function gets deleted? foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook; CC6 Code foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list') as $hook) include $hook; $productList = $this->getProductData($list, 1, $order, $per_page, $page, true); } foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook; return (isset($productList) && is_array($productList)) ? $productList : false; } -
Previous and Next Buttons on product page
Claudia M replied to Claudia M's topic in Customising Look & Feel
I can't get the prev::next mod to work for CC6. I mean nothing is showing up at all. Most of the code from the CC5 version fits in the CC6 coding but I'm having problems with the following: Thanks in advance for your help /classes/catalogue.class.php This is what the getCategoryProducts() function changes to make looks like in your CC5 mod: Was: $productList = $this->getProductData($list, 1, $order, $per_page, $page, true); } return (isset($productList) && is_array($productList)) ? $productList : false; } Now: $productList = $this->getProductData($list, 1, $order, $per_page, $page, true); } $GLOBALS['session']->set('last_visited_category',$category_id,'client',true); $GLOBALS['session']->set('last_visited_category_product_ids',$list,'client',true); return (isset($productList) && is_array($productList)) ? $productList : false; } This is what getCategoryProducts() function looks like in CC6.0.12: public function getCategoryProducts($category_id, $page = 1, $per_page = 10, $hidden = false) { if (strtolower($page) == 'all') { $per_page = false; $page = false; } $where2 = $this->outOfStockWhere(false, 'INV', true); if (($result = $GLOBALS['db']->query('SELECT I.product_id FROM `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_category_index` as I, `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_inventory` as INV WHERE I.cat_id = '.$category_id.' AND I.product_id = INV.product_id AND INV.status = 1'.$where2)) !== false) { $this->_category_count = $GLOBALS['db']->numrows(); if (isset($_GET['sort']) && is_array($_GET['sort'])) { foreach ($_GET['sort'] as $field => $direction) { $order[$field] = (strtolower($direction) == 'asc') ? 'ASC' : 'DESC'; break; } } else { $order_column = $GLOBALS['config']->get('config', 'product_sort_column'); $order_direction = $GLOBALS['config']->get('config', 'product_sort_direction'); $order[$order_column] = $order_direction; } foreach ($result as $product) { $list[] = $product['product_id']; } foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list') as $hook) include $hook; $productList = $this->getProductData($list, 1, $order, $per_page, $page, true); } foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook; return (isset($productList) && is_array($productList)) ? $productList : false; } There are now more lines between where the changes go so where do I put the new changes? I tried this: foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list') as $hook) include $hook; $productList = $this->getProductData($list, 1, $order, $per_page, $page, true); } $GLOBALS['session']->set('last_visited_category',$category_id,'client',true); $GLOBALS['session']->set('last_visited_category_product_ids',$list,'client',true); foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook; return (isset($productList) && is_array($productList)) ? $productList : false; } This is what my /main.php Breadcrumb code looks like: <div class="row bgwhite"> <div class="small-12 small-collapse thinmarg-top"> {include file='templates/element.breadcrumb.php'} </div> </div> and this is what my elements.breadcrumbs.php file looks like: <div id="element-breadcrumbs"> {if $CRUMBS} <ul class="breadcrumbs" style="margin-bottom: 0.250rem"> <li><a href="{$STORE_URL}"><span class="show-for-small-only"><i class="fa fa-home"></i></span><span class="show-for-medium-up">{$LANG.common.home}</a></span></li> {foreach from=$CRUMBS item=crumb} <li><a href="{$crumb.url}">{$crumb.title}</a></li> {/foreach} </ul> {else} <!-- <div class="thickpad-top"></div> --> {/if} </div> Where do I put the changes from the CC5 mod? <div id="breadcrumb"> <div id="prev_next" style="float:right;"> {if $PRODUCT.previous} <a href="{$PRODUCT.previous}">Prev</a> {/if} {if $PRODUCT.previous && $PRODUCT.next}::{/if} {if $PRODUCT.next} <a href="{$PRODUCT.next}">Next</a>{/if} </div> -
Previous and Next Buttons on product page
Claudia M replied to Claudia M's topic in Customising Look & Feel
No they are not in the same category LOL That would be some weird category. What I'm asking, would there be a problem if: Product number 1 of a category had ID say 120 the second item 135 .... Product number of a DIFFERENT category has ID 122, or any number between 120 and 135 Claudia -
Previous and Next Buttons on product page
Claudia M replied to Claudia M's topic in Customising Look & Feel
I was looking at the instructions for this and I think I remembered why I couldn't use it for my cc5 store. I can't go by product IDs. Mine are in no set order as I do not list items in a set order. EX: one incense burner could have a product ID of 5. Then I list a vintage telephone giving it a product ID of 6. Then I list another incense burner, giving it a product ID of 7. See where I'm going? My incense burners will stop having a product ID in order pretty quick. There's no way I can list items so each catepory will have consecutive product IDs. Is there anyway this could go by Product Codes? I do have them in order. Example of my vintage advertising ashtrays: VATA010M, VATA015M, VATA020M, VATA025M. Note they are spaced by 5 in case I want to add a product between them. 10 - 15- 20 - 25. Or, better yet, can I use the custom sort number generated from my Custom Product Sort mod by SemperFi - I love that mod! It just goes by the above numbers without the letters. Thanks, Claudia