• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How to triger "buynow" tag from a web apps?

Community Beginner ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

Hi,
I am trying to let user choose product atribute and buynow from web app . Does anybody know how to make it work?

TOPICS
Web apps

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Apr 05, 2013 Apr 05, 2013

The tag will only work in eCommerce module. 

So the workaround is to add the product module within the web app item. 

2013-04-05_1146.png

Ensuring that you have the buy now tag applied to the product view...

2013-04-05_1147.png

So that when the system displays the product you'll have the button as required. 

2013-04-05_1148.png

Hope this is helpful!

-Sidney

Votes

Translate

Translate
Adobe Employee ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

The tag will only work in eCommerce module. 

So the workaround is to add the product module within the web app item. 

2013-04-05_1146.png

Ensuring that you have the buy now tag applied to the product view...

2013-04-05_1147.png

So that when the system displays the product you'll have the button as required. 

2013-04-05_1148.png

Hope this is helpful!

-Sidney

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

Hi, Sidney,

Thank you for your post!

This work around looks like should work but the point is that web apps do not works with 'buynow' tag within web apps  . The button appears but do not work, as it should especially redirects to shopping cart.

My idea is very simple just to be able buy a product from web app detail layout . like http://www.tribevita.com/adobe-business-catalyst-templates/e-commerce/wee-adore

how to do it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

Tags and their function only work in their respective and documented layouts. Simple as that. There is other elements to make them function etc. If it renders in a web app that is actually a bug not intended.

Sydney has given you the basics on how to do it with web apps and products.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

Liam,

Sorry, but I do not undestand. The basics given by Sidney do not work, it displays only buttons but do not functioning within web app.

So, the question is if a tag "buy now " should work within layout or not? If 'No' what is the best workaround to archive the result? e.g the same product tag works fine within a static page but do not work within web apps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

ok, Hard to work out what you were refering too.

Well You also need to include this javascript in your layout:

<script type="text/javascript" src="http://sydcdn.worldsecuresystems.com/CatalystScripts/Java_OnlineShopping.js"></script>

<script type="text/javascript" src="http://sydcdn.worldsecuresystems.com/CatalystScripts/Java_Cookies.js"></script>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 03, 2013 Jun 03, 2013

Copy link to clipboard

Copied

I followed your tips exactly:

The "buy now" button doesn't seem to work:

http://screencast.com/t/b46qgbPNYyN

Ideas?

Thanks,

Brian

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 04, 2013 Jun 04, 2013

Copy link to clipboard

Copied

LATEST

Support pointed me in the right direction: Javascripts as Liam indicated, but more...

http://screencast.com/t/3SHpkPLLs

<script type="text/javascript" src="http://njcdn.worldsecuresystems.com/CatalystScripts/Java_OnlineShopping.js?vs=b2024.r405545"></script>

<script type="text/javascript" src="http://njcdn.worldsecuresystems.com/CatalystScripts/Java_Cookies.js?vs=b2024.r405545"></script>

<script type="text/javascript" src="http://njcdn.worldsecuresystems.com/CatalystScripts/Java_Box.js?vs=b2024.r405545"></script>

<script type="text/javascript" src="/ajaxpro/prototype-core.ashx"></script>

<script type="text/javascript" src="/ajaxpro/CMS.CatalogueRetrieve,Catalyst.Web.CMS.ashx"></script>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines