Jump to content

[v1.6.1.5] Blue dot over quantities in BO order's details page


Nandos

Recommended Posts

  • 3 weeks later...

It seems an indicator of product quantity and customisation quantity.

 

That badge appears when  product quantity  - customisation quantity > 1

Thanks for the reply, but we still don't get where we can edit this option and how it works, because we had another order with 2 products in and both of them were available but one had the blue dot and the other one not, even if they had more than 10 quantity available at the beginning. Check the screenshot:

 

UqEpED9.jpg?1

 

Let me understand  :P

Edited by Nandos (see edit history)
Link to comment
Share on other sites

you can take a look at following file, from line #78

 

/YouStoreAdminFolder/themes/default/template/controllers/orders/_product_line.tpl

 

Ok. I have this code there:

	<td class="productQuantity text-center">
		<span class="product_quantity_show{if (int)$product['product_quantity'] - (int)$product['customized_product_quantity'] > 1} badge{/if}">{(int)$product['product_quantity'] - (int)$product['customized_product_quantity']}</span>
		{if $can_edit}
		<span class="product_quantity_edit" style="display:none;">
			<input type="text" name="product_quantity" class="edit_product_quantity" value="{$product['product_quantity']|htmlentities}"/>
		</span>
		{/if}
	</td>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...