Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
Culinarygods
Ok we will dump all again and start from a fresh install of all from the ground up. My hosting Co. thought it was a sql issue but they said if we have no info or products yet do a clean install and go from there. So clean install it is including sql.
I will post in a few minutes
If you have a blank page or part of a blank page look at your /logs folder for errors and correct them. See the FAQs section of this site for a tutorial about blank pages.
Thanks,
Anne
Re: Abbington Mega Template [Support Thread]
goodtimez.co.uk is the link to the site it takes arroung 12 seconds to load the site or even just move to another category or product i have looked at all the images but it looks like there is something at the start thats slowing things down :(
Re: Abbington Mega Template [Support Thread]
Quote:
Originally Posted by
Chris Holloway
goodtimez.co.uk is the link to the site it takes arroung 12 seconds to load the site or even just move to another category or product i have looked at all the images but it looks like there is something at the start thats slowing things down :(
The problem is not inherently the template. If the template were making sites load slowly then I would be hearing from thousands of people that this is happening. If you have installed modules or made modifications, you may have broken something or introduced a problem related to the slow loading time. Take a look in the faqs section of this site for tips on how to speed up your site, and make sure that you are on a good web host for zen cart. Search the forum to see if your particular host is know for problems.
Thanks,
Anne
Re: Abbington Mega Template [Support Thread]
Hello Ann,
I recently installed 'Save it For Later' module and it is working well, great asset to the cart page. I am now trying to put the 'Save it For Later' button on the product pages just below the add to cart button. I have followed the instructions however I cannot get the button to appear - I'm wondering if it may be a .css stylesheet issue?
So I am looking for some help here please - cheers, Mike
Instructions are as follows - part a) is that which concerns the template;
If you would like to offer Save for Later on your product info page,
do the following:
a) In includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php,
right before the closing </div> for the cartAdd div which displays the button,
add this block:
<!-- bof save for later -->
<?php
if (isset($_SESSION['customer_id']) && $_SESSION['customer_id'] != '') {
echo "<br /><br />";
echo '<input type="submit" value="' . BUTTON_SAVE_FOR_LATER_ALT . '" name="sfl" />';
}
?>
<!-- eof save for later -->
--------------------------------------
other instructions (also done) are;
b) In includes/main_cart_actions.php, change the block
case 'add_product' :
$_SESSION['cart']->actionAddProduct($goto, $parameters);
break;
to
case 'add_product' :
if (isset($_POST['sfl'])) {
actionSaveForLaterFromProductPage($goto, $parameters);
} else {
$_SESSION['cart']->actionAddProduct($goto, $parameters);
}
break;
c) In the file includes/classes/shopping_cart.php, under
in the function actionAddProduct, right below the call to
$this->add_cart(...
insert the line
$_GET['uprid'] = zen_get_uprid($_POST['products_id'], $real_ids);
then towards the bottom of the function, change
zen_redirect(zen_href_link($goto, zen_get_all_get_params($parameters)));
to
if ($goto!= '') zen_redirect(zen_href_link($goto, zen_get_all_get_params($parameters)));
Re: Abbington Mega Template [Support Thread]
Quote:
Originally Posted by
shags38
Hello Ann,
I recently installed 'Save it For Later' module and it is working well, great asset to the cart page. I am now trying to put the 'Save it For Later' button on the product pages just below the add to cart button. I have followed the instructions however I cannot get the button to appear - I'm wondering if it may be a .css stylesheet issue?
Pretty sure this isn't a template issue. I haven't played with save for later in a while but I think you only need to duplicate the add to cart button changing the action (but_now) to (sfl_move_to_cart).
@swguy has a support thread and is pretty good about answering questions about his plugins.
Re: Abbington Mega Template [Support Thread]
Quote:
Originally Posted by
shags38
Hello Ann,
I recently installed 'Save it For Later' module and it is working well, great asset to the cart page. I am now trying to put the 'Save it For Later' button on the product pages just below the add to cart button. I have followed the instructions however I cannot get the button to appear - I'm wondering if it may be a .css stylesheet issue?
So I am looking for some help here please - cheers, Mike
Instructions are as follows - part a) is that which concerns the template;
If you would like to offer Save for Later on your product info page,
do the following:
a) In includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php,
right before the closing </div> for the cartAdd div which displays the button,
add this block:
<!-- bof save for later -->
<?php
if (isset($_SESSION['customer_id']) && $_SESSION['customer_id'] != '') {
echo "<br /><br />";
echo '<input type="submit" value="' . BUTTON_SAVE_FOR_LATER_ALT . '" name="sfl" />';
}
?>
<!-- eof save for later -->
--------------------------------------
other instructions (also done) are;
b) In includes/main_cart_actions.php, change the block
case 'add_product' :
$_SESSION['cart']->actionAddProduct($goto, $parameters);
break;
to
case 'add_product' :
if (isset($_POST['sfl'])) {
actionSaveForLaterFromProductPage($goto, $parameters);
} else {
$_SESSION['cart']->actionAddProduct($goto, $parameters);
}
break;
c) In the file includes/classes/shopping_cart.php, under
in the function actionAddProduct, right below the call to
$this->add_cart(...
insert the line
$_GET['uprid'] = zen_get_uprid($_POST['products_id'], $real_ids);
then towards the bottom of the function, change
zen_redirect(zen_href_link($goto, zen_get_all_get_params($parameters)));
to
if ($goto!= '') zen_redirect(zen_href_link($goto, zen_get_all_get_params($parameters)));
This is not a problem with the template pacakge. Any properly installed, stable module will work. Save for later is a well written mod and will definitely work if installed correctly.
Thanks,
Anne
Re: Abbington Mega Template [Support Thread]
Hello Anne,
my site(s) have the original version Abbington Mega and running v1.3.9h - I have just downloaded your latest version - can I 'upgrade' the current template using that download just by overwriting files or is there something else that needs to be taken care of?
cheers, Mike
p.s. sorted out the 'Save for Later' button problem - the button is hard coded, not an image
Re: Abbington Mega Template [Support Thread]
Quote:
Originally Posted by
shags38
Hello Anne,
my site(s) have the original version Abbington Mega and running v1.3.9h - I have just downloaded your latest version - can I 'upgrade' the current template using that download just by overwriting files or is there something else that needs to be taken care of?
cheers, Mike
p.s. sorted out the 'Save for Later' button problem - the button is hard coded, not an image
If you have not made any modifications to any of the template files then this should work. But, I would definitely create a mirror site and make the changes there to be sure that they work before experimenting on a live site.
Thanks,
Anne
Re: Abbington Mega Template [Support Thread]
Quote:
Originally Posted by
picaflor-azul
If you have not made any modifications to any of the template files then this should work. But, I would definitely create a mirror site and make the changes there to be sure that they work before experimenting on a live site.
Thanks,
Anne
Thanks for the advice Anne.
cheers, Mike
Re: Abbington Mega Template [Support Thread]
Anne - are the links in the footer 'no follow' - I have added a link to my Etsy shop alongside the social media links, just making sure it is no follow.
cheers, Mike