Post by pablitoesco84 » Fri Sep 30, 2022 8:55 pm

Inside a theme we can create links for Account, Wishlist, and Shopping Cart like below.

Code: Select all

<a href="{{ account }}" title="{{ text_account }}"><span>{{ text_account }}</span></a>

<a href="{{ wishlist }}" title="{{ text_wishlist }}"><span>{{ text_wishlist }}</span></a>

<a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><span>{{ text_shopping_cart }}</span></a>
My question is, what code is used to create the Compare Products link?

I tried "compare" and "product_compare" like below.

Code: Select all

<a href="{{ compare }}" title="{{ text_compare }}"><span>{{ text_compare }}</span></a>

<a href="{{ product_compare }}" title="{{ text_roduct_compare }}"><span>{{ text_product_compare}}</span></a>
But they don't work.

Anyone knows how to create a link for Product Compare?

Newbie

Posts

Joined
Wed Jul 13, 2022 1:18 am

Post by rjcalifornia » Fri Sep 30, 2022 9:24 pm

pablitoesco84 wrote:
Fri Sep 30, 2022 8:55 pm
Inside a theme we can create links for Account, Wishlist, and Shopping Cart like below.

Code: Select all

<a href="{{ account }}" title="{{ text_account }}"><span>{{ text_account }}</span></a>

<a href="{{ wishlist }}" title="{{ text_wishlist }}"><span>{{ text_wishlist }}</span></a>

<a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><span>{{ text_shopping_cart }}</span></a>
My question is, what code is used to create the Compare Products link?

I tried "compare" and "product_compare" like below.

Code: Select all

<a href="{{ compare }}" title="{{ text_compare }}"><span>{{ text_compare }}</span></a>

<a href="{{ product_compare }}" title="{{ text_roduct_compare }}"><span>{{ text_product_compare}}</span></a>
But they don't work.

Anyone knows how to create a link for Product Compare?
What exactly is not working? The customer has to add two products to compare first.

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by pablitoesco84 » Sat Oct 01, 2022 8:35 pm

I know it won't work until user add products to compare.

But my question is what text I have to use to properly display name and link on the code.

{{ compare }} or {{ product_compare }} or what else?

Because so far neither {{ compare }} or {{ product_compare }} are working on my side.

Does the question makes sense?

Code: Select all

<a href="{{ compare }}" title="{{ text_compare }}"><span>{{ text_compare }}</span></a>

<a href="{{ product_compare }}" title="{{ text_product_compare }}"><span>{{ text_product_compare}}</span></a>

Newbie

Posts

Joined
Wed Jul 13, 2022 1:18 am
Who is online

Users browsing this forum: mhglobal and 12 guests