Jump to content

ohsembuy

Member
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ohsembuy

  1. Hmm, I'm still having trouble, after I copied and pasted the Facebook Pixel Helper onto the main.php file. My website just turned into blank page, without showing anything - http://ohsembuy.com Facebook Pixel Helper's ads placement: http://prnt.sc/cqedr5 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Here's the code for the main.php file: {* * CubeCart v6 * ======================================== * CubeCart is a registered trade mark of CubeCart Limited * Copyright CubeCart Limited 2015. All rights reserved. * UK Private Limited Company No. 5323904 * ======================================== * Web: http://www.cubecart.com * Email: [email protected] * License: GPL-3.0 https://www.gnu.org/licenses/quick-guide-gplv3.html *} <!DOCTYPE html> <html class="no-js" xmlns="http://www.w3.org/1999/xhtml" dir="{$TEXT_DIRECTION}" lang="{$HTML_LANG}"> <head> <title>{$META_TITLE}</title> <meta charset="{$CHARACTER_SET}"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="{$CANONICAL}" rel="canonical"> <link href="{$STORE_URL}/favicon.ico" rel="shortcut icon" type="image/x-icon"> <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/normalize.css" rel="stylesheet"> <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/foundation.css" rel="stylesheet"> <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/font-awesome/css/font-awesome.min.css" rel="stylesheet"> <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/cubecart.css" rel="stylesheet"> <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/cubecart.common.css" rel="stylesheet"> <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/cubecart.helpers.css" rel="stylesheet"> {if !empty($SKIN_SUBSET)} <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/cubecart.{$SKIN_SUBSET}.css" rel="stylesheet"> {/if} <link href="{$STORE_URL}/skins/{$SKIN_FOLDER}/css/jquery.bxslider.css" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type='text/css'> {foreach from=$CSS key=css_keys item=css_files} <link href="{$STORE_URL}/{$css_files}" rel="stylesheet" type="text/css" media="screen"> {/foreach} <meta http-equiv="Content-Type" content="text/html;charset={$CHARACTER_SET}"> <meta name="description" content="{if isset($META_DESCRIPTION)}{$META_DESCRIPTION}{/if}"> <meta name="keywords" content="{if isset($META_KEYWORDS)}{$META_KEYWORDS}{/if}"> <meta name="robots" content="index, follow"> <meta name="generator" content="cubecart"> {if $FBOG} <meta property="og:image" content="{$PRODUCT.thumbnail}"> <meta property="og:url" content="{$VAL_SELF}"> {/if} {include file='templates/content.recaptcha.head.php'} <script src="{$STORE_URL}/skins/{$SKIN_FOLDER}/js/vendor/modernizr.min.js"></script> <script src="{$STORE_URL}/skins/{$SKIN_FOLDER}/js/vendor/jquery.js"></script> {include file='templates/element.google_analytics.php'} {foreach from=$HEAD_JS item=js}{$js}{/foreach} <!-- 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 --> </head> <body> The red color code is the one I inserted. However, once I inserted it, the website just turned into a completely blank page. Is there any solution for this problem? Thanks in advanced. PS: The above Facebook's ads is for the: Website Conversions Get people to take valuable actions on your website, such as watching a demo or purchasing a product. Use the Facebook pixel to measure and optimise adverts for conversions.
  2. Glad to know it and thanks for your explanation, bsmither. Unfortunately, I didn't see any "File explorer" tool inside my hosting cpanel. Though, I will use UltraEdit to edit those php files.
  3. Hi Noodleman, I've checked the skin and apparently it's the "Foundation>Default" skin. The "/skins/foundation/templates/main.php" - I think I found it Yup, that's a guide to add Facebook Pixel Helper: https://www.facebook.com/business/help/218844828315224 One more thing, is there any recommendation for me to edit .php file online? I might need it, so that I can edit and re-upload the "main.php + content.receipt.php" files. Thanks again buddy.
  4. Hi bsmither, Thanks for your explanation, I will try to figure out the templates.
  5. Hi Noodleman, Thank you very much for your prompt reply. Yup, that's what I meant - I got a few questions here (Sorry, as I'm still a newbie in cubecart, hope you don't mind :)) 1. Is "index.php" file same with "main.php" file? It's because, I only found "index.php" file inside instead of "main.php" file. 2. I tried to find "content.receipt.php" inside the "Skins" folder, but I couldn't find it. Do I need create a new "content.receipt.php" file and manually upload it onto cpanel? Looking forward for your reply and thanks again.
  6. 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.
  7. Hi Brian (bsmither), Thanks for your detailed explanation about the "Class" and "Methods". I'm glad to hear that Cubecart is able to adapt with the WebCash's payment gateway. Right now, I haven't got the final API code from the WebCash's provider. Once I did, I will return and paste the API code here. PS: By the way, hope you and your family have an awesome "4th of July" day Regards, Simon Wilson.
  8. Hi bsmither, Firstly, thank you very much for your prompt reply. Yup, there's no "WebCash" module in the Payment Gateway section, it's much like a local payment gateway system. I was wondering, is it possible for me to upload the "WebCash Payment Gateway API" in .php format onto the "modules > gateway" section and working fine, like the picture I attached below... Thanks again.
  9. Greeting to cubecart's team and cubecarters, I just started using cubecart v6 and I was very impressed with the functions of cubecart. However, I'm now encounter some problems and I need some suggestions here. I used Softaculous to install my online ecommerce website (Ohsembuy) with the latest cubecart v6, it's working fast and smoothly without any hassle. Until now, I've uploaded more than 20 products onto the store. Yesterday, I'm ready to add the "Online Payment Gateway" from "WebCash". The customer support manager from WebCash informed me that I need to insert the "Online Payment Gateway API" by myself. I login to my webstore and try to add on the gateway API. However, I found out that I can't edit those PHP codes (All the PHP codes are fixed) just like the below picture: I can only view the PHP info, but can't barely change or edit the PHP codes. My question here - Is there any alternative solution for me to add the "Online Payment Gateway API" onto my webstore, since I can't change or edit the PHP codes? PS: I really need to solve this problem urgently, hopefully someone will guide me here. Thanks in advanced. Regards, Simon Wilson.
×
×
  • Create New...