X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   'Add to Cart' Alert Message (https://forum.x-cart.com/showthread.php?t=56998)

swartzieee 05-01-2012 04:34 PM

Re: 'Add to Cart' Alert Message
 
I have implemented bitofeverything .tpl and I am still having issues. In the code I do not see any line breaks.

bitofeverything 05-01-2012 04:48 PM

Re: 'Add to Cart' Alert Message
 
looks like the copy / paste generated some ]]
remove the ]]

swartzieee 05-01-2012 04:53 PM

Re: 'Add to Cart' Alert Message
 
Removed all the ]] but seems I am still having issues.. What the heck!!! I have installed tons of mod's before but never have had these type of issues!

bitofeverything 05-01-2012 05:00 PM

Re: 'Add to Cart' Alert Message
 
1 Attachment(s)
I've re-attached the template file..
Seems like there's some issues copy/pasting between evernote.

This is a direct copy from the working template from a live site.

swartzieee 05-01-2012 05:03 PM

Re: 'Add to Cart' Alert Message
 
Still doesn't work. I am feed up.. I think I am going to remove the mod.

bitofeverything 05-01-2012 05:11 PM

Re: 'Add to Cart' Alert Message
 
have you looked at the product_thumbnail.tpl ??
each newline comes after an image tag

have any other mods changed / edited product_thumbnail.tpl

swartzieee 05-01-2012 05:15 PM

Re: 'Add to Cart' Alert Message
 
This is what my product_thumbnail.tpl looks like


{*
$Id: product_thumbnail.tpl,v 1.1 2010/05/21 08:31:58 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{strip}
<img
{if $id ne ''} id="{$id}"{/if} src="
{if $tmbn_url}
{$tmbn_url|amp}
{else}
{if $full_url}
{$current_location}
{else}
{$xcart_web_dir}
{/if}
/image.php?type={$type|default:"T"}&amp;id={$produc tid}
{/if}
"
{if $image_x ne 0} width="{$image_x}"{/if}
{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" />
{/strip}

bitofeverything 05-01-2012 05:21 PM

Re: 'Add to Cart' Alert Message
 
That looks correct... make sure there's not any newlines at the end.

swartzieee 05-01-2012 05:24 PM

Re: 'Add to Cart' Alert Message
 
No new lines at the end. I am removing this mod.. Just isn't working.

Duramax 6.6L 05-01-2012 05:39 PM

Re: 'Add to Cart' Alert Message
 
We'll I am removing this mod on 4.5.0 as it causes error messages. If you try to use xpayments, it throws the following error code for an email address mismatch.

Order declined.
Review your data or contact the store administrator.
Reason: Internal error (The merchantEmail field is missing or incorrect)

On the order details page the following error message is displayed.

--- Advanced info ---
Reason: Internal error (The merchantEmail field is missing or incorrect)
CVV info: not set

I changes the email feild back to the stock way xcart has you enter it in the feilds and the error went away.

cflsystems 05-01-2012 05:52 PM

Re: 'Add to Cart' Alert Message
 
Quote:

Originally Posted by swartzieee
No new lines at the end. I am removing this mod.. Just isn't working.


When you say it doesn't work do you mean you still get the error or the popup isn't poping up? You have set "add to cart" to redirect to cart so the popup will not execute. You have to set it to update cart in the background.

I know the mod works. So it is either you not doing it right or somehting with the 3rd party skin you are using. Have you tried to install it on one of the standard XC skins and see if it works there?

This one does work as well - http://www.cflsystems.com/system-messages-mod-for-x-cart.html


All times are GMT -8. The time now is 11:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.