Re: All Business template Support Thread
Quote:
Originally Posted by
ian
hello
the page to edit appears to be /includes/languages/english/html_includes/define_checkout_success.php, this is where the other checkout success page content is , however when i add the clixgalore or google tracking code it displays no checkout success content (not even the original page content )
Any suggestions, using either clixgalore or idevaffiliate tracking code
<!-- Google Code for medical sheepskins ozwool Conversion Page -->
<script type="text/javascript">
/* <=!=[=C=D=A=T=A=[ */
var google_conversion_id = xxxxxxxx;
var google_conversion_language = "en";
var google_conversion_format = "1";
var google_conversion_color = "ffffff";
var google_conversion_label = "xxxxxxxxxxxxxxxx";
var google_conversion_value = 50;
/* ]=]=> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/xxxxxxxxxxxxxxxxxx/?value=50&label=xxxxxxxxxxxxxxxx&guid=ON&script=0"/>
</div>
</noscript>
thanks
ian
You need to always make template specific changes in the template override directory.
Thanks,
Anne
Re: All Business template Support Thread
ok i'm confused as to the actual override folder, if the folder is /includes/languages/english/html_includes/define_checkout_success.php
what is the overrides folder as everything i have tried does not work?
Any one help
thanks
IAn
Re: All Business template Support Thread
Quote:
Originally Posted by
ian
ok i'm confused as to the actual override folder, if the folder is /includes/languages/english/html_includes/define_checkout_success.php
what is the overrides folder as everything i have tried does not work?
Any one help
thanks
IAn
Your override folder is:
includes/languages/english/html_includes/all_business/define_checkout_success.php
Thanks,
Anne
Re: All Business template Support Thread
Hi
I'm trying to get the correct links for the social media icons, I have followed the instructions and put in the correct URL:
Code:
Line #55 : define('TWITTER_ICON', 'twitter.png');
Line #64 : define('TWITTER','http://www.twitter.com/barker_cummings');
This however seems to be pointing it back at my own site so I get a page not found error.
Is the template picking up the URL from another location?
Hope someone can give me a pointer on this one, it's driving me mad :blush:
Thanks
Re: All Business template Support Thread
Quote:
Originally Posted by
picaflor-azul
Your override folder is:
includes/languages/english/html_includes/all_business/define_checkout_success.php
Thanks,
Anne
I added that and used both the code
<!-- STart clix code -->
<?
$gv_query1= "SELECT * FROM zen_orders_total WHERE (class='ot_total' AND orders_id='$zv_orders_id')";
$gv_result1 = mysql_query($gv_query1);
$gvrow = mysql_fetch_array($gv_result1);
$gvsv=$gvrow[4];
$gvoid=$gvrow[1];
echo "<img src=\"https://www.clixGalore.com/AdvTransaction.aspx?AdID=xxxx&SV=" . $gvsv . "&OID=" . $gvoid . "\" height=\"0\" width=\"0\" border=\"0\">\n";
?>
<!-- End clix code -->
and (seperately)
<!-- STart clix code -->
<img src="https://www.clixGalore.com/AdvTransaction.aspx?AdID=xxxx&SV=<?php echo $order_summary['order_subtotal']; ?>&OID=<?php echo $order_summary['order_number']; ?>" height="0" width="0" border="0">
<!-- End clix code -->
and all it displayed when called up was this - both sale vale and order id = nothing
<img src="https://www.clixGalore.com/AdvTransaction.aspx?AdID=xxxx&SV=&OID=" height="0" width="0" border="0">
any ideas to what is missing?
thanks
ian
Re: All Business template Support Thread
Quote:
Originally Posted by
CHRI55YB0Y
Hi
I'm trying to get the correct links for the social media icons, I have followed the instructions and put in the correct URL:
Code:
Line #55 : define('TWITTER_ICON', 'twitter.png');
Line #64 : define('TWITTER','http://www.twitter.com/barker_cummings');
This however seems to be pointing it back at my own site so I get a page not found error.
Is the template picking up the URL from another location?
Hope someone can give me a pointer on this one, it's driving me mad :blush:
Thanks
No, this is not a problem with the template.
Try re-uploading the includes/languages/english/extra_definitions/all_business/footer_menu_defines.php file and making your changes again.
Thanks,
Anne
Re: All Business template Support Thread
Quote:
Originally Posted by
ian
I added that and used both the code
<!-- STart clix code -->
<?
$gv_query1= "SELECT * FROM zen_orders_total WHERE (class='ot_total' AND orders_id='$zv_orders_id')";
$gv_result1 = mysql_query($gv_query1);
$gvrow = mysql_fetch_array($gv_result1);
$gvsv=$gvrow[4];
$gvoid=$gvrow[1];
echo "<img src=\"https://www.clixGalore.com/AdvTransaction.aspx?AdID=xxxx&SV=" . $gvsv . "&OID=" . $gvoid . "\" height=\"0\" width=\"0\" border=\"0\">\n";
?>
<!-- End clix code -->
and (seperately)
<!-- STart clix code -->
<img src="https://www.clixGalore.com/AdvTransaction.aspx?AdID=xxxx&SV=<?php echo $order_summary['order_subtotal']; ?>&OID=<?php echo $order_summary['order_number']; ?>" height="0" width="0" border="0">
<!-- End clix code -->
and all it displayed when called up was this - both sale vale and order id = nothing
<img src="https://www.clixGalore.com/AdvTransaction.aspx?AdID=xxxx&SV=&OID=" height="0" width="0" border="0">
any ideas to what is missing?
thanks
ian
I'd recommend contacting tech support at the company who's code this is to find out why their code is not working.
Thanks,
Anne
Re: All Business template Support Thread
Hi Anne
I have all business template installed (1.3.9 version)
Whilst investigating an issue earlier today I found a rake of error messages in the cache folder.
PHP Deprecated: Function ereg() is deprecated in /var/www/vhosts/OURSITE/httpdocs/includes/index_filters/all_business/default_filter.php on line 121
There was a PHP upgrade alright as part of moving to the current server.
That line of code is:
Code:
// set the default sort order setting from the Admin when not defined by customer
if (!isset($_GET['sort']) and PRODUCT_LISTING_DEFAULT_SORT_ORDER != ' ') {
$_GET['sort'] = PRODUCT_LISTING_DEFAULT_SORT_ORDER;
}
if (isset($column_list)) {
if ((!isset($_GET['sort'])) || (isset($_GET['sort']) && !ereg('[1-8][ad]', $_GET['sort'])) || (substr($_GET['sort'], 0, 1) > sizeof($column_list)) ) {
for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
if (isset($column_list[$i]) && $column_list[$i] == 'PRODUCT_LIST_NAME') {
$_GET['sort'] = $i+1 . 'a';
// $listing_sql .= " order by p.products_sort_order, pd.products_name";
break;
} else {
// sort by products_sort_order when PRODUCT_LISTING_DEFAULT_SORT_ORDER is left blank
// for reverse, descending order use:
// $listing_sql .= " order by p.products_sort_order desc, pd.products_name";
//$listing_sql .= " order by p.products_sort_order, pd.products_name";
break;
}
}
Would you have a quick fix for this by any chance ?
Re: All Business template Support Thread
Quote:
Originally Posted by
PatF
Hi Anne
I have all business template installed (1.3.9 version)
Whilst investigating an issue earlier today I found a rake of error messages in the cache folder.
PHP Deprecated: Function ereg() is deprecated in /var/www/vhosts/OURSITE/httpdocs/includes/index_filters/all_business/default_filter.php on line 121
There was a PHP upgrade alright as part of moving to the current server.
That line of code is:
Code:
// set the default sort order setting from the Admin when not defined by customer
if (!isset($_GET['sort']) and PRODUCT_LISTING_DEFAULT_SORT_ORDER != ' ') {
$_GET['sort'] = PRODUCT_LISTING_DEFAULT_SORT_ORDER;
}
if (isset($column_list)) {
if ((!isset($_GET['sort'])) || (isset($_GET['sort']) && !ereg('[1-8][ad]', $_GET['sort'])) || (substr($_GET['sort'], 0, 1) > sizeof($column_list)) ) {
for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
if (isset($column_list[$i]) && $column_list[$i] == 'PRODUCT_LIST_NAME') {
$_GET['sort'] = $i+1 . 'a';
// $listing_sql .= " order by p.products_sort_order, pd.products_name";
break;
} else {
// sort by products_sort_order when PRODUCT_LISTING_DEFAULT_SORT_ORDER is left blank
// for reverse, descending order use:
// $listing_sql .= " order by p.products_sort_order desc, pd.products_name";
//$listing_sql .= " order by p.products_sort_order, pd.products_name";
break;
}
}
Would you have a quick fix for this by any chance ?
The file giving you the error is not in the original template package. You must have added it when installing a module. I would check with the module author about the error.
Thanks,
Anne
Re: All Business template Support Thread
Thanks Anne
Apologies for that. I was under the impression it was part of the template.