<< Home

Is This Right for Options on Google Checkout

Use this forum for issues related to TriniTronic's Nice PayPal Button Plugin.

Moderator: jamesSBT

Is This Right for Options on Google Checkout

Postby mfisher99 » Sun Jul 15, 2012 2:47 pm

Hi,
Just wondering if this is right?
I get the image, I get the price, I just can't get the dropdowns for size.

{nicecheckout:21.00|Von Alumni T-Shirt|/images/site/300p-Von-Alumni-Grey-t.jpg|Included| drop;size;Small;Medium;Large;X-Large;XX-Large;XXX-Large;}

Site:
http://VonAlum.com/index.php/home/products/

help, Thanks
mfisher99
Lithos
Lithos
 
Posts: 3
Joined: Sun Jul 15, 2012 2:42 pm

Re: Is This Right for Options on Google Checkout

Postby mfisher99 » Sun Jul 15, 2012 11:25 pm

OK, got it working but when my code was wrong, I could display the image.

Now that the code is right, I can't see the image. I know it is me but can't see the error.

{nicecheckout:15.00|Von Alumni T-Shirt|http://http://vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}

html
<p>&nbsp;</p>
<p><span style="color: #2d4453; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; text-align: left;">{nicecheckout:15.00|Von Alumni T-Shirt|<a href="http://http//vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg" style="font-family: arial, helvetica, sans-serif; font-size: 16px; line-height: 21px; text-align: left;"></a><a href="images/site/300p-Von-Alumni-Grey-t.jpg">http://http://vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}</a><a href="&quot;http:/http:/vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}&lt;br"></a></span></p>

Here is the URL to the image
http://vonalum.com/images/site/300p-Von ... Grey-t.jpg
mfisher99
Lithos
Lithos
 
Posts: 3
Joined: Sun Jul 15, 2012 2:42 pm

Re: Is This Right for Options on Google Checkout

Postby Michael » Mon Jul 16, 2012 11:32 am

Hi,

Okay, let's work trough this. Here is your tag.

Code: Select all
{nicecheckout:15.00|Von Alumni T-Shirt|http://http://vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}


Whenever, I run into an image issue, where the image won't display, the first thing I do is isolate and test the image URL. I can't count the number of syntax errors I have made typing URLs. And the fun thing about image URLs is that they always "look" correct.

So, if you copy and paste the image URL from your tag, into your browser, you will get an error.

Error: Oops! Google Chrome could not find http

The reason for the error is because you have an extra "http://" in your tag's url.

Code: Select all
http://http://vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg


Changing your tag to the following should correct the image issue.

Code: Select all
{nicecheckout:15.00|Von Alumni T-Shirt|http://vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}


Now on to the bigger issue. If you look at the HTML example you provided, you will see that there is a mess of hidden HTML code added to your button tag. This may have been added by your article editor, or it may be a result of copying and pasting a tag from an HTML page.

Code: Select all
<p><span style="color: #2d4453; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; text-align: left;">{nicecheckout:15.00|Von Alumni T-Shirt|<a href="http://http//vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg" style="font-family: arial, helvetica, sans-serif; font-size: 16px; line-height: 21px; text-align: left;"></a><a href="images/site/300p-Von-Alumni-Grey-t.jpg">http://http://vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}</a><a href="&quot;http:/http:/vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg|4.95||.5|drop;size;Small;Medium;Large}&lt;br"></a></span></p>


When this happens, the tag reader cannot see or process the tag correct. Do the following.

1. Go to your article and edit it.
2. Toggle the editor to HTML view.
3. Clean out all of the HTML that is within the tag. When finished, the tag should look the same in both views.

Example of cleaned tag
Code: Select all
<p><span style="color: #2d4453; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; text-align: left;">{nicecheckout:15.00|Von Alumni T-Shirt|<a href="http://http//vonalum.com/images/site/300p-Von-Alumni-Grey-t.jpg"|4.95||.5|drop;size;Small;Medium;Large}</span></p>


Note, I didn't verify that the example tag above has the correct syntax. I simply removed the HTML bits that looked like they didn't belong, to illustrate the process.

~ All the best
Contributed by Michael Babcock
User avatar
Michael
Cosmos
Cosmos
 
Posts: 2473
Joined: Thu Aug 14, 2008 12:30 am


Return to Joomla: Nice Google Checkout

Who is online

Users browsing this forum: No registered users and 1 guest