Jump to content

Edit History

Jagotic

Jagotic


Attention, didn't get any help yet

Hello presta friends

in my project i have added new price field on product price tab. it is working great, and showing commission value per product in back office for order (See image > Ref 1).

Now i want to show total order commission below Total order value (See image > Ref 2) multiply with quantity and that can be used in customer account.

What should i do to do that now!

Note: 

I have added commission field to price tab:

	<div class="form-group">
		<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
		<label class="control-label col-lg-2" for="commission">
			<span class="label-tooltip" data-toggle="tooltip" title="{l s='Re-seller Commission'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Re-seller Commission'}{else}{l s='Pre-tax re-seller commission'}{/if}</span>
		</label>
		<div class="col-lg-2">
			<div class="input-group">
				<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
				<input maxlength="27" name="commission" id="commission" type="text" value="{{toolsConvertPrice price=$product->commission}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
			</div>
		</div>
	</div>

added commission to PS_PRODUCT

added coded on _product_line.tpl :

	<td>
	{($product.commission)}
	</td>

HELP WILL BE GREATLY APPRECIATED  😍

Jagotic

Jagotic


Attention, didn't get any help yet

Hello presta friends

in my project i have added new price field on product price tab. it is working great, and showing commission value per product in back office for order (See image > Ref 1).

Now i want to show total order commission below Total order value (See image > Ref 2) multiply with quantity and that can be used in customer account.

What should i do to do that now!

Note: 

I have added commission field to price tab:

	<div class="form-group">
		<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
		<label class="control-label col-lg-2" for="commission">
			<span class="label-tooltip" data-toggle="tooltip" title="{l s='Re-seller Commission'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Re-seller Commission'}{else}{l s='Pre-tax re-seller commission'}{/if}</span>
		</label>
		<div class="col-lg-2">
			<div class="input-group">
				<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
				<input maxlength="27" name="commission" id="commission" type="text" value="{{toolsConvertPrice price=$product->commission}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
			</div>
		</div>
	</div>

added commission to PS_PRODUCT

added coded on _product_line.tpl :

	<td>
	{($product.commission)}
	</td>

HELP WILL BE GREATLY APPRECIATED  😍

Jagotic

Jagotic


Attention, didn't get any help yet

Hello presta friends

in my project i have added new price field on product price tab. it is working great, and showing commission value per product in back office for order (See image > Ref 1).

Now i want to show total order commission below Total order value (See image > Ref 2) multiply with quantity and that can be used in customer account.

What should i do to do that now!

Note: 

I have added commission field to price tab:

	<div class="form-group">
		<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
		<label class="control-label col-lg-2" for="commission">
			<span class="label-tooltip" data-toggle="tooltip" title="{l s='Re-seller Commission'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Re-seller Commission'}{else}{l s='Pre-tax re-seller commission'}{/if}</span>
		</label>
		<div class="col-lg-2">
			<div class="input-group">
				<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
				<input maxlength="27" name="commission" id="commission" type="text" value="{{toolsConvertPrice price=$product->commission}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
			</div>
		</div>
	</div>

added commission to PS_PRODUCT

added coded on _product_line.tpl :

	<td>
	{($product.commission)}
	</td>

HELP WILL BE GREATLY APPRECIATED  😍

Jagotic

Jagotic

Hello presta friends

in my project i have added new price field on product price tab. it is working great, and showing commission value per product in back office for order (See image > Ref 1).

Now i want to show total order commission below Total order value (See image > Ref 2) multiply with quantity and that can be used in customer account.

What should i do to do that now!

Note: 

I have added commission field to price tab:

	<div class="form-group">
		<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
		<label class="control-label col-lg-2" for="commission">
			<span class="label-tooltip" data-toggle="tooltip" title="{l s='Re-seller Commission'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Re-seller Commission'}{else}{l s='Pre-tax re-seller commission'}{/if}</span>
		</label>
		<div class="col-lg-2">
			<div class="input-group">
				<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
				<input maxlength="27" name="commission" id="commission" type="text" value="{{toolsConvertPrice price=$product->commission}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
			</div>
		</div>
	</div>

added commission to PS_PRODUCT

added coded on _product_line.tpl :

	<td>
	{($product.commission)}
	</td>

HELP WILL BE GREATLY APPRECIATED  😍

Jagotic

Jagotic

Hello presta friends

in my project i have added new price field on product price tab. it is working great, and showing commission value per product in back office for order (See image > Ref 1).

Now i want to show total order commission below Total order value (See image > Ref 2) multiply with quantity.

Note: 

I have added commission field to price tab:

	<div class="form-group">
		<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
		<label class="control-label col-lg-2" for="commission">
			<span class="label-tooltip" data-toggle="tooltip" title="{l s='Re-seller Commission'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Re-seller Commission'}{else}{l s='Pre-tax re-seller commission'}{/if}</span>
		</label>
		<div class="col-lg-2">
			<div class="input-group">
				<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
				<input maxlength="27" name="commission" id="commission" type="text" value="{{toolsConvertPrice price=$product->commission}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
			</div>
		</div>
	</div>

added commission to PS_PRODUCT

added coded on _product_line.tpl :

	<td>
	{($product.commission)}
	</td>

HELP WILL BE GREATLY APPRECIATED  😍

×
×
  • Create New...