Forum Replies Created
-
AuthorPosts
-
fpierronMember
I have modified the output to have the quantity visible as it is less anxious for my client, but it is impossible to make change.
$output .= ‘
<tr>
<th style=”text-align: left”>’.ESTORE_ITEM_NAME.'</th><th style=”text-align: left”>’.ESTORE_QUANTITY.'</th><th style=”text-align: left”>’.ESTORE_PRICE.'</th><th></th>
</tr>’;
foreach ($_SESSION as $item)
{
$output .= “
<tr><td style=’overflow: hidden;’>“.$item.”</td>
<td style=’text-align: left’>”.$item.”</td>
<td style=’text-align: left’>”.print_digi_cart_payment_currency(($item * $item), $currency_symbol, $decimal).”</td>
<td style=’text-align: left’><form method=”post” action=””>
<input type=”hidden” name=”product” value=””.htmlspecialchars($item).”” />
<input type=’hidden’ name=’eStore_delcart’ value=’1′ />
<input type=’image’ src='”.WP_ESTORE_URL.”/images/Shoppingcart_delete.gif’ class=’eStore_remove_item_button’ value=’Remove’ title='”.ESTORE_REMOVE_ITEM.”‘ /></form></td></tr>
“;
This output and the original could be in a checkbox in the settings ?
fpierronMemberDid you do something to simplify this ?
I have modified the code but it would be great to have someting easier…
I believe it should be something too hard and too complex for you but it would be usefull.
fpierronMemberThanks but it does not work.
If a client buys me 4 weeks, he will have to pay 4*10 = $40
If a client buys me 7 weeks, he will have to pay 7*8 = $48
fpierronMemberSorry for my poor english.
I explain again. My Problem is with the backoffice : My client can choose to buy “weeks of course”. They can buy between one to many weeks.
The price depends on the number of weeks they buy.
1- 5 : $10 each
6-15 : $8 each
above : $5 each
How to manage that ? Do I have to make a huge option list with a base price; or is there a way to calculate the price depending the number of weeks they had bought ?
-
AuthorPosts