Hi andchir,
i managed to install Shopkeeper successfully on my laptop. On the product page i got a simple Shopkeeper call and one product item:
[!Shopkeeper? &lang=`en` ¤cy=`USD` &orderFormPage=`55` &flyToCart=`helper` &cartType=`full` &cartTpl=`shopCart`!]
<div class="shop-stuff shk-item">
<div class="shop-stuff-b">
<h3>[*title*]</h3>
<div class="shs-descr">
<img class="shk-image" src="[*image*]" alt="" height="130" width="130" />
[*introtext*]<br />
<a href="[~[*id*]~]">More ›</a>
</div>
<form action="" method="post">
<input type="hidden" name="shk-id" value="[*id*]" />
<input type="hidden" name="shk-name" value="[*title*]" />
<input type="hidden" name="shk-price" value="[*price*]" />
<input type="hidden" name="shk-count" value="1" size="2" maxlength="3" />
<div class="shs-price">
<button type="submit" name="shk-submit" class="shk-but">Add to cart</button>
<div>Currency: <span class="shk-price">[*price*]</span> USD</div>
</div>
</form>
</div>
on the orderFormPage ( ID 55 ) eForm & Shopkeeper are called like this:
[!Shopkeeper? &lang=`en` ¤cy=`USD` &orderFormPage=`55` &gotoid=`54` &flyToCart=`helper` &cartType=`full` &cartTpl=`shopCart`!]
[!eForm? &formid=`shopOrderForm` &tpl=`shopOrderForm` &report=`shopOrderReport` &vericode=`1` &ccsender=`0` &gotoid=`54` &subject=`Order` &eFormOnBeforeMailSent=`populateOrderData` &eFormOnMailSent=`sendOrderToManager`!]
i don’t use ccsender because it’s not on a remote server and i can’t send emails to "real" e-mail addresses anyways
everything works well, i’m able to add items to the cart, submit the order -> redirected to the order form page ( basket with item is displayed on top of the order form ) and when i submit the order form, the item is displayed correctly in my module, but the
cart isn’t emptied although i use "&gotoid" which should empty the basket - any ideas what i might have done wrong?
thanks a lot, j