Search the Community
Showing results for tags 'Question'.
-
Hi, I was hoping someone could bring me assistance as to slightly modify the qty function on the product page. Basically, on the product page, the qty is shown via a box but on the mobile checkout page, Cubecart is using a text "Qty abbreviated" followed by a sign - or +. I would like to use this "Qty + or -" instead of the box on the product page. So on the content.product.php, I replaced coding: <input type="text" name="quantity" value="1" maxlength="6" class="quantity required text-center"> <input type="hidden" name="add" value="{$PRODUCT.product_id}"> by that of the content.checkout.small.php for the quantity: {$LANG.common.quantity_abbreviated} <a href="#" class="quan subtract" rel="{$hash}"><svg class="icon"><use xlink:href="#icon-minus-circle"></use></svg></a> <span class="disp_quan_{$hash}">{$item.quantity}</span> <input name="quan[{$hash}]" maxlength="6" class="quantity required text-center" type="hidden" value="{$item.quantity}"> <span id="original_val_{$hash}" class="hide">{$item.quantity}</span> <a href="#" class="quan add" rel="{$hash}"><svg class="icon"><use xlink:href="#icon-plus-circle"></use></svg></a> Qty + or - now appears on my product page but some modifications are required. I changed the value, the class, etc, I have played around a bit but I am no coding expert and sometimes, I found my way but not this time ! Would anyone know what needs to be changed ? Many thanks, S.
-
Hi, Wish to make the sales report with the product details, which sql should I edit on? "product_code" is a new attributes that I add in, since it is not inside the table "CubeCart_order_summary". Actually, it is from table "CubeCart_order_inventory". And, How to sum the product_code? As the product code is in integer, digit form. The below code is from admin_LsSCSi/sources/reports.index.inc.php $fields = array( 'title', 'cart_order_id', 'product_code', 'order_date', 'status', 'subtotal', 'discount', 'shipping', 'total_tax', 'total', 'customer_id', 'first_name', 'last_name', 'company_name', 'line1', 'line2', 'town', 'state', 'country', 'postcode', 'title_d', 'first_name_d', 'last_name_d', 'company_name_d', 'line1_d', 'line2_d', 'town_d', 'state_d', 'country_d', 'postcode_d', 'phone', 'email', 'gateway' ); foreach ($GLOBALS['hooks']->load('admin.reports.order.pre') as $hook) include $hook; $orders = $GLOBALS['db']->select('CubeCart_order_summary', $fields, $where); foreach ($GLOBALS['hooks']->load('admin.reports.order.post') as $hook) include $hook; if ($orders) { ## If we are wanting an external report start new External class if (isset($_POST['external_report']) && is_array($_POST['external_report'])) { $module_name = array_keys($_POST['external_report']); $external_class_path = 'modules/external/'.$module_name[0].'/external.class.php'; if (file_exists($external_class_path)) { include $external_class_path; $external_report = new External($GLOBALS['config']->get($module_name[0])); } } ## Tally up totals $tally = array(); $i = 0; foreach ($orders as $order_summary) { $order_summary['status'] = $lang['order_state']['name_'.(int)$order_summary['status']]; foreach ($order_summary as $field => $value) { if (in_array($field, array('subtotal', 'discount', 'shipping', 'total_tax', 'total'))) { if (!isset($tally[$field])) $tally[$field] = 0; $tally[$field] += $value; } } $order_summary['country'] = (is_numeric($order_summary['country'])) ? getCountryFormat($order_summary['country']) : $order_summary['country']; $order_summary['state'] = (is_numeric($order_summary['state'])) ? getStateFormat($order_summary['state']) : $order_summary['state']; $order_summary['country_d'] = (is_numeric($order_summary['country_d'])) ? getCountryFormat($order_summary['country_d']) : $order_summary['country_d']; $order_summary['state_d'] = (is_numeric($order_summary['state_d'])) ? getStateFormat($order_summary['state_d']) : $order_summary['state_d']; $order_summary['date'] = formatTime($order_summary['order_date'],false,true); ## Run line of external report data if (isset($external_report) && is_object($external_report)) $external_report->report_order_data($order_summary); unset($order_summary['order_date'], $values); foreach ($order_summary as $field => $value) { if ($i == 0) $headers[] = $field; $values[] = (is_numeric($value) || !strpos($value, ',')) ? $value : sprintf('"%s"', addslashes($value)); } if ($i == 0 && $add_headers) $data[] = implode(',', $headers); $data[] = implode(',', $values); $smarty_data['report_date'][] = $order_summary; $i++; } $GLOBALS['smarty']->assign('REPORT_DATE', $smarty_data['report_date']); if (isset($_POST['download']) || (isset($_POST['external_report']) && is_array($_POST['external_report']))) { $GLOBALS['debug']->supress(true); if (isset($_POST['download'])) { $file_content = implode("\r\n", $data); $file_name = $lang['reports']['sales_data'].' '.$download_range; } else { $file_content = $external_report->_report_data; $file_name = ucfirst($module_name[0]).' '.$lang['reports']['data'].' '.$download_range; } deliverFile(false, false, $file_content, $file_name.'.csv'); exit; } ## Show table footer $tally['orders'] = count($orders); foreach ($tally as $key => $value) { $tallyformatted[$key] = ($key=='orders') ? $value : sprintf('%.2F', $value); } $smarty_data['tally'] = $tallyformatted; $GLOBALS['smarty']->assign('DOWNLOAD', true); ## Get external module export code $where = array('module' => 'external', 'status' => '1'); ## Start classes for external reports if (($module = $GLOBALS['db']->select('CubeCart_modules', 'folder', $where)) !== false) { foreach ($module as $module_data) { if(file_exists(CC_ROOT_DIR.'/modules/external/'.$module_data['folder'])) { $module_data['description'] = ucfirst(str_replace('_',' ',$module_data['folder'])); $smarty_data['export'][] = $module_data; } } $GLOBALS['smarty']->assign('EXPORT', $smarty_data['export']); } } else { if (isset($_POST['download'])) httpredir(currentPage()); $smarty_data['tally'] = array('orders' => 0); } $GLOBALS['smarty']->assign('TALLY', $smarty_data['tally']); $GLOBALS['smarty']->assign('POST', $report_filter); foreach ($GLOBALS['hooks']->load('admin.reports.order.filter') as $hook) include $hook; Thanks~
-
ok so I installed paypal extension, I push test, seems fine... for 3 days I have called paypal and spoke to someone trying to purchase on my site.... paypal says it seems fine...but, they could really care less cause they are really busy right now I am sure... anyways, not sure what to put in IPN ???? to get a notice of payment??? and she sent me a notice she see's when she goes onto her paypal account it says " Hi Linda I checked paypal and it said " [email protected] transaction details [email protected] - negative$18.44 [email protected] hasn't accepted yet. Cancel anyone know what this means?????????? HELPPPPPPPP PLEASEEEEE
-
Where can I change the wording of the form labels of my checkout form? There is a label underneath of COUNTRY that says County and it shows the shipping options in a drop down, has nothing to do with county
-
Hi, I am looking for someone who has a good level of knowledge of how to limit the damage with google of removing an old website that has been around since 2006 and replacing it with a new version 6 site. This is a totally new site. However it contains a lot of the same products but with different titles etc We are wondering what is the best option? • Replace the current (v3) website with the new one (v6) on the same.co.uk domain name or • Launch the new website (v6) on the slightly better name.com domain name with redirects from the old site Concerns • We don’t want to lose any “presence or good reputation” that has been gained over the years with Google etc. (Products, General website) • Does the current domain name have a good ranking with google (Has the old site caused harm to the natural rankings?) • Would adding the new (v6) website improve any negative ranking from Google etc? on the old.co.uk domain name? • Would creating re-directs from old domain name to the new (v6) shop on new domain name prove to be a better solution? Any suggestions, Recommendations? Thank you Gary
-
Hai, I'm using Cubecart V6 with the paypal pro gateway as my payment method. And I'm using Foundation as my skin of template. My scenario is : Non-member (Without Login) Customer can purchases and add item into their basket, and view it by click on "view basket". (the button will navigate them to xxxx.com/index.php?_a=basket) Member (Login) Customer can purchases the item, but the "view basket" button is failure. It navigate customer to (xxxx.com/index.php?_a=confirm). Previously it doesn't have "View Basket", I enable it via box.basket.php in skin, template. It is not only that, but it will shows the same url to customer when they press on login button during login process. (In order to confirm member had login, they need to press "back" button in browser and refresh the browser). Thanks
-
Hello, I created me a shop with cubecard. Everything is very fine but i cannot find the options for shiping and payment .... Whenever someone orders something, this error accures : Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. Please contact a member of our staff for any further inquiries. Can anyone tell me how to get things running ? i got the plugins installed : SagePay + All in One Shipping
-
Hi, Can i use a url Link to add a product to cart?
-
This may sound suspicious, but it's with good purpose. I sell items sometimes out of the store, but still process the invoices and such through the store manually. Quite often I get testimonials and reviews via email or over the phone. Is there a way an admin can add a testimonial or review to a product within the admin control panel? I only see the ability to edit/delete. Thanks!
-
Hi I have recently updated cubecart from version 6.1.0 to 6.1.1 and after receiving a cart order I tried to print an invoice and it is return the below server error. Internal Server Error "The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request." I have been on with my web hosting team and they cannot find any error on their side. If I reinstall version 6.1.0 it works fine. can anyone provide some assistance with this please
- 13 replies
-
- cubecart v6
- issue
-
(and 1 more)
Tagged with:
-
We are looking to put together a site which will mostly be descriptive of fitness courses available. There will be the opportunity to book on a course using the eCommerce features of CubeCart but most of the site will not involve items for sale, it may not even require the concept of a "basket". Is is possible to design pages which do not involve products from a catalogue and if so, what is involved? Thanks for any help.
-
I had tried to do this on my own, but no matter what I did, I didn't get a title to show up on my sitemap page. foe those that don't know, I have the "loc" and "lastmod" in sitemap.xml and the stylesheet in simple.xsl. all I tried doing was adding <H1> and <H2> in the <body style....> section. they didn't show on my sitemap.
-
my cc sitemap when I linked it on my site says " This XML file does not appear to have any style information associated with it. The document tree is shown below. " I tried writing a page to fix that then it didn't show anything.
-
So, I have been in a very niche market with my online store. It's done very well, but my methods of obtaining my inventory or very specific to that niche. I am looking to actually start another store more geared for the general public. I am looking into more of a retail type store that's not so niche. I eventually would like to have a physical store front, but that is some years away. My question is how does one obtain popular brands and inventory? Let's use lawn mowers as a product example. How does one go about getting lawn mowers as their inventory? There are so many manufacturers of lawn mowers out there. Do you go directly to the manufacturer? Do you have to find a wholesaler/distributor? I am having a hard time finding out who I need to look into to get the inventory? I don't want to sell just one brand of anything. Any help would be appreciated. I started with the niche market because it was easier to find suppliers, but with more general markets it seems much harder to get a foothold.
-
Greeting to cubecart's team and cubecarters, I'm one of the co-owners of http://ohsembuy.com and we'd decided to use Facebook ads to boost up our webstore's sales. After I setup an ads in Facebook, its required me to add the "Facebook Pixel Helper" code into my webstore's code, as shown at below: <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '105319869934614'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=105319869934614&ev=PageView&noscript=1" /></noscript> <!-- DO NOT MODIFY --> <!-- End Facebook Pixel Code --> I would be highly appreciated, if any expert can show me the ways to overcome this matter. Thanks in advanced, Simon Wilson.
-
Hi, I want to add Google Certified Shops code to my Cubecart store. There are two parts, one is a pop-up banner that should be displayed in the bottom left corner of all pages and the second, the part where it displays on an order confirmation page. Could someone point me in the direction of where to put them? Thanks.
-
Just a 'quickie' this time! I've noticed that the general font for the cart is dependent on the default font chosen for the browser that's being used to view the cart. As an example my Firefox browser is set to Arial, so on first viewing the contents of the Cube Cart I've set-up, in my Firefox browser, the type in the cart looked nice and neat - in Arial. I assumed this was the font displayed by Cube Cart in all browsers. However on a different device, but still using Firefox the type on the various pages was Times New Roman (unless the user changes the default font in Firefox, then Firfox's default is Times New Roman). What I would like to do is set the font in the cart so that it displays as Arial in all browsers, rather than depend on the default browser settings in individual browsers. Can someone tell me where to do this please? I guess it's a CSS file somewhere. Just tell me the file name and where to find it and what edits I need to make, I'll do the rest, if it's possible! Thanks. Kind regards, G.
-
I'm using the Pay Pal gateway (clunky and clumsy as I find it is, but as the site owner has an existing Pay Pal account I'm using it). It's the Pro/ Express plugin version. I've got it to work after a fashion (after having inserted a message at the checkout page to stop any confusion for new/ unwary potential buyers). Now they know they can pay without a Pay Pal account. It would be nice to insert a payment card graphic there - but that's a job for later, for now I need to get things working properly. When a payment is made via the Pay Pal portal the buyer is brought back to the CC checkout page - see below: Is this the way it's supposed to work? I've tried setting it up on PP so that buyers are taken nto a 'Thank You' HTML page on the seller's site, but that doesn't seem to work at all - they just get left with a blank screen.. This rather ambiguous message box shown above says "Please click 'Make Payment' to complete your order". THERE IS NO LINK or "MAKE PAYMENT" BUTTON on the checkout page! This is horribly confusing for potential buyers. In reality what it's asking for is for the "3 Payment" link to be clicked - but who the hell is going to guess that? So, I need to change either the wording in the message box (but I don't know whether that is injected in by Pay Pal or generated within Cube Cart itself). Or I'll have to edit the "3 Payment" link wording to match the wording in the message box. Can someone please shed light on the above? And tell me where to find the php file(s) I need to edit - assuming I need to? I'm new to this software and haven't found my way around yet. So your patience is greatly appreciated! Thanks, G
- 4 replies
-
- cubecart v6
- question
-
(and 1 more)
Tagged with:
-
I've just installed Cube Cart at http://josies-secondhandstuff.uk It will soon have items on the 'shelves'. I've also activated the Pay Pal payment gateway (Pro/ Express). Everything is working fine BUT I now have two 'checkout' buttons. One standard CC one and the PP one with Pay Pal shown on it, this is the one that works. However having the default 'checkout' button showing as well is confusing and doesn't work anyway. I've hunted high and low in the Admin section for a solution, and now wonder if I need to edit one of the php files to hide it. Any pointers please? Thanks, G
-
Hi, I am seriously concidering changing our e-commerce platform from PrestaShop to either CubeCart or OpenCart. I have been playing around with CubeCart, and so far I think I like it. The back-office is pretty straigth forward and to the point, which I like. However it need to tick some boxes before setting sail on this swap project, so I was wondering if there is an easy way to add JS and CSS files to the "Documents" section of cubecart? It it the "main.php" in the skin folder i need to add the info, or is there another more suitable place? Thanx in advance / Elviz
-
I just installed the latest cubecart for teh first time, and I understand the process of adding the products etc, I think this is a great product - but I have a couple of questions... I looked into editing the template files to fit in my own header and footer, but could not find the tpl files, and as this job is a time sensitive thing I am putting that on the back burner to completely learn how to do it. But I would like to have my own style front page based along the lines of the current demo I have at http://2016.carolinawreath.com/ Questions... How can I carry through the styles of that navigation bar into the inner pages? How can I make this page be the main home page link? Thanks!