Add screen printing setup fee?

  • Posts: 6
  • Thank you received: 0
12 years 9 months ago #68513

How do you add setup fees for screen printing?

Please Log in or Create an account to join the conversation.

  • Posts: 84079
  • Thank you received: 13636
  • MODERATOR
12 years 9 months ago #68726

Screen printing ?

With options maybe ?
www.hikashop.com/en/support/documentatio...ct-form.html#options
The question is quite vague, so it's hard to be sure what to answer. If you could give more information, I would be able to answer more precisely.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 9 months ago #68804

To print a logo on a shirt or vest the customer needs to upload their logo and I need to charge a one-time set up fee of $40. If I add it as an option it will be charged x number of times depending on the number of items being ordered. This needs to be a one-time charge of $40 regardless of whether they order 10 or 100.

Please Log in or Create an account to join the conversation.

  • Posts: 84079
  • Thank you received: 13636
  • MODERATOR
12 years 9 months ago #68950

For the logo upload, you would have to create a custom field of the table "item" and the type "file" with the column name "file_upload" via the menu Display>Custom fields (business edition).

If you want the price of $40 to be added automatically, you will have to use that plugin:
demo.hikashop.com/index.php?option=com_h...show&cid=214&lang=en

and add the code:
if(!empty($product->file_upload)) $product->prices[0]->price_value = $product->prices[0]->price_value+40;
if(!empty($product->file_upload)) $product->prices[0]->price_value_with_tax = $product->prices[0]->price_value_with_tax+40;
after the line:
$currencyClass->quantityPrices($product->prices,$quantity,$product->cart_product_total_quantity);

and the add the code:
if(!empty($product->file_upload)) $product->order_product_total_price = $product->order_product_total_price+40;
if(!empty($product->file_upload)) $product->order_product_total_price_no_vat = $product->order_product_total_price_no_vat+40;
after the line:
$product->order_product_total_price = ($product->order_product_price+$product->order_product_tax)*$quantity;

Please Log in or Create an account to join the conversation.

Time to create page: 0.042 seconds
Powered by Kunena Forum