Jump to content

"Add To Basket" Button


Guest lcools
 Share

Recommended Posts

Guest lcools

It is not possible to add more than one item at a time using the "Add to Basket" button...There is a quantity box next to this button so I'm sure it is supposed to allow multiple additions.

I'm using 3.0.17 (but it didn't work in 3.0.11 either) ...and I've tried 3 different browsers..and I don't have any other known java issues.

Does anyone know what is wrong? I sell small items so I really depend on the purchase of multiple quantities. I'd rather not have to remove the quantity box.

Thanks for any help~

leila

Link to comment
Share on other sites

Guest lcools

It seems to be because I moved the "add to basket" to be above the product image...so that customers do not have to scroll down every time they want to add a product. I'm baffled why it has that effect. I'd really like to keep the button at the top.

Thanks for pointing me in the right direction~

Leila

Works fine for me on all 11 of my stores, so I would suggest you check your skin or other files. Has anything been customized?
Link to comment
Share on other sites

My guess would be you didn't move something you needed to or accidentally deleted something you shouldn't have. I'd start with a fresh copy of the default file and try editing it again.

Link to comment
Share on other sites

Guest lcools

You are right...thanks for the push. Looking at the 'add to basket" mod discussion in Cubecart.org, I got the idea that it was an unresolved issue or bug...but they were dealing with adding a button...I'm just moving it. Anyway, after a few tries, I got it in the right place and working properly

I've copied the page for anyone else who is interested.

Thanks again,

Leila

<!-- BEGIN: view_prod -->

<div class="boxContent">

<!-- BEGIN: prod_true -->

<strong>{LANG_DIR_LOC}</strong> {CURRENT_DIR}

<form action="{CURRENT_URL}" method="post" name="addtobasket" target="_self">

<!-- BEGIN: buy_btn -->

<div style="position: relative; text-align: right;">{LANG_QUAN}

<input name="quan" type="text" value="1" size="2" class="textbox" style="text-align:center;" />

<a href="java script:submitDoc('addtobasket');" class="txtButton">{BTN_ADDBASKET}</a>

</div>

<!-- END: buy_btn -->

<input type="hidden" name="add" value="{PRODUCT_ID}" />

</form>

<p class="txtContentTitle"><strong>{TXT_PRODTITLE}</strong></p>

<div style="text-align: center;"><img src="{IMG_SRC}" alt="{TXT_PRODTITLE}" border="0" title="{TXT_PRODTITLE}" /></div>

<!-- BEGIN: more_images -->

<div style="text-align: center;"><a href="java script:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 548, 455, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a></div>

<!-- END: more_images -->

<p>

<strong>{LANG_PRODINFO}</strong>

<br />

{TXT_DESCRIPTION}

</p>

<p>

<strong>{LANG_PRICE}</strong> {TXT_PRICE}

<span class="txtSale">{TXT_SALE_PRICE}</span>

</p>

<ul>

<li class="bulletLrg"><a href="index.php?act=taf&amp;productId={PRODUCT_ID}" target="_self" class="txtDefault">{LANG_TELLFRIEND}</a></li>

</ul>

<!-- BEGIN: prod_opts -->

<br />

<strong>{TXT_PROD_OPTIONS}</strong>

<table border="0" cellspacing="0" cellpadding="3">

<!-- BEGIN: repeat_options -->

<tr>

<td><strong>{VAL_OPTS_NAME}</strong></td>

<td>

<select name="productOptions[]">

<!-- BEGIN: repeat_values -->

<option value="{VAL_ASSIGN_ID}">

{VAL_VALUE_NAME}

<!-- BEGIN: repeat_price -->

({VAL_OPT_SIGN}{VAL_OPT_PRICE})

<!-- END: repeat_price -->

</option>

<!-- END: repeat_values -->

</select>

</td>

</tr>

<!-- END: repeat_options -->

</table>

<!-- END: prod_opts -->

<br />

<strong>{LANG_PRODCODE}</strong> {TXT_PRODCODE}

<div>

{TXT_INSTOCK}<span class="txtOutOfStock"> {TXT_OUTOFSTOCK} </span>

</div>

<!-- END: prod_true -->

<!-- BEGIN: prod_false -->

<p>{LANG_PRODUCT_EXPIRED}</p>

<!-- END: prod_false -->

</div>

<!-- END: view_prod -->

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...