Sign in to follow this  
Followers 0

Simple click a size and then click add to cart question

2 posts in this topic

 <form action="" method="post" class="add-to-cart-form buying-tools">
      <input type="hidden" name="action" value="addItem"/>
      <input type="hidden" name="lang_locale" value="en_US"/>
      <input type="hidden" name="country" value="US"/>
      <input type="hidden" name="catalogId" value="1"/>
      <input type="hidden" name="productId" value="10060"/>
      <input type="hidden" name="price" value="65.0"/>
      <input type="hidden" name="siteId" value=""/>
      <input type="hidden" name="line1" value="Blue Dress"/>
      <input type="hidden" name="passcode" />
      <input type="hidden" name="sizeType" value=""/>

      <div class="exp-pdp-size-and-quantity-container">
            class="exp-pdp-size-container exp-pdp-dropdown-container nsg-form--drop-down">
          <a class="nsg-form--drop-down--label nsg-grad--light-grey" >
            <span class="js-selectBox-label">SIZE </span>
            <span class="js-selectBox-value nsg-form--drop-down--selected-option"></span>
          <select name="skuAndSize"
                  class="nsg-form--drop-down exp-pdp-size-dropdown exp-pdp-dropdown "
                  data-tooltiptext="Select a Size" required="required"
                  data-error="Select a Size"  data-has-fixed-ancestor="true">
            <option class="exp-pdp-size-not-in-stock" value=""></option>
                <option class="exp-pdp-size-not-in-stock selectBox-disabled"

<div class="exp-pdp-save-container">
        <button id="buyingtools-add-to-cart-button" type="submit" class="js-add-to-cart add-to-cart nsg-button nsg-grad--blue" >
                        ADD TO CART

The above is the html code for choosing a size and then clicking add to cart. I want to click size 8 in the drop down menu and then click add to cart. I see that the button id for the add to cart is "buyingtools-add-to-cart-button". How do I simulate a click on this button?


Get Scite to add a popup when you use a 3rd party UDF ->

Share this post

Link to post
Share on other sites

Can you provide a link to the website?

Did you try _IEFormSubmit? How about _IEGetObjById and _IEAction?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0