Skip Navigation

[Resolved] Compare button jumps to footer upon clicking

This support ticket is created 4 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by jeleenC 4 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1392903

I am trying to: Test the compare button that was built using the following doc: https://toolset.com/learn/create-an-ecommerce-wordpress-site/product-comparison/

Link to a page where the issue can be seen: hidden link

I expected to see: Go to the following page: hidden link

Instead, I got: Jumps to footer

#1393073

Hello,

Thanks for the details, I can log into your website and see the problem you mentioned above.

I think you have missed some steps, for example:
In the document you mentioned above:
https://toolset.com/learn/create-an-ecommerce-wordpress-site/product-comparison/#adding-product-comparison-with-toolset
section "Part 3: Connecting the pages"
Step 4) Add a form submit button immediately after the line with the form
And
Step 5) Position the cursor before the [/wpv-items-found] shortcode, and complete the form by adding the form closing tag:

I have done below modifications in your website:
Edit the post view:
hidden link
in section "Loop Editor":
line 21~30, add the chekcbox HTML codes as below:

<div class="row ">
			<div class="col-md-4"><input type="checkbox" name="post_ids[]" value="[wpv-post-id]">
<label>Add to compare</label>[wpv-post-body view_template="content-template-for-property-thumbnails"]</div>
		[wpv-item index=other]
			<div class="col-md-4"><input type="checkbox" name="post_ids[]" value="[wpv-post-id]">
<label>Add to compare</label>[wpv-post-body view_template="content-template-for-property-thumbnails"]</div>
		[wpv-item index=3]
			<div class="col-md-4"><input type="checkbox" name="post_ids[]" value="[wpv-post-id]">
<label>Add to compare</label>[wpv-post-body view_template="content-template-for-property-thumbnails"]</div>
		</div>

line 42, add the close form HTML tag:

</form>

Please test again, check if it is fixed. Thanks

#1394195

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.