- Posts: 61
- Thank you received: 2
Trying to Remove "Price With Tax" on New Product
13 years 4 months ago - 13 years 3 months ago #113122
by xsbucks
Trying to Remove "Price With Tax" on New Product was created by xsbucks
As the title says, trying to remove "Price With Tax" on the New Product Upload Form.
Last edit: 13 years 3 months ago by xsbucks.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #113155
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Trying to Remove "Price With Tax" on New Product
Hi,
For the moment there is no such option to remove the column but it's a good idea that I put in my TODO list.
You can remove the column by editing the view "productmarket | form_price".
You will have to remove
Replace
By:
And also replace:
By:
Best regards,
For the moment there is no such option to remove the column but it's a good idea that I put in my TODO list.
You can remove the column by editing the view "productmarket | form_price".
You will have to remove
Code:
<th class="title"><?php
echo JText::_('PRICE_WITH_TAX');
?></th>
Code:
<td class="hikam_price">
<input type="hidden" name="price[<?php echo $i;?>][price_id]" value="<?php echo @$price->price_id;?>" />
<input size="10" type="text" id="hikamarket_price_<?php echo $i;?>_price" name="price[<?php echo $i;?>][price_value]" value="<?php echo @$price->price_value; ?>" onchange="window.productMgr.updatePrice(<?php echo $i; ?>, false)" />
</td>
<td class="hikam_price">
<input size="10" type="text" id="hikamarket_price_<?php echo $i;?>_with_tax" name="price_with_tax_<?php echo $i;?>" value="<?php echo @$price->price_value_with_tax; ?>" onchange="window.productMgr.updatePrice(<?php echo $i; ?>, true)"/>
</td>
Code:
<td class="hikam_price">
<input type="hidden" name="price[<?php echo $i;?>][price_id]" value="<?php echo @$price->price_id;?>" />
<input size="10" type="text" id="hikamarket_price_<?php echo $i;?>_price" name="price[<?php echo $i;?>][price_value]" value="<?php echo @$price->price_value; ?>" />
</td>
Code:
<td class="hikam_price">
<input type="hidden" name="price[{id}][price_id]" value="" />
<input size="10" type="text" id="hikamarket_price_{id}_price" name="price[{id}][price_value]" value="" onchange="window.productMgr.updatePrice({id}, false)" />
</td>
<td class="hikam_price"><input size="10" type="text" id="hikamarket_price_{id}_with_tax" value="" onchange="window.productMgr.updatePrice({id}, false)"/></td>
Code:
<td class="hikam_price">
<input type="hidden" name="price[{id}][price_id]" value="" />
<input size="10" type="text" id="hikamarket_price_{id}_price" name="price[{id}][price_value]" value="" />
</td>
Best regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: xsbucks
Please Log in or Create an account to join the conversation.
13 years 3 months ago #115136
by xsbucks
Replied by xsbucks on topic Trying to Remove "Price With Tax" on New Product
This didn't affect the product upload page at all.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #115137
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Trying to Remove "Price With Tax" on New Product
Hi,
Are you sure you have edited the view for the right front-end template ?
Regards,
Are you sure you have edited the view for the right front-end template ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #115138
by xsbucks
Replied by xsbucks on topic Trying to Remove "Price With Tax" on New Product
I'm an idiot, I didn't see that all the templates were part of the view flow. I am assuming i change it in the assigned template?
Please Log in or Create an account to join the conversation.
13 years 3 months ago #115140
by xsbucks
Replied by xsbucks on topic Trying to Remove "Price With Tax" on New Product
Got It , Thanks Jerome.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.071 seconds