how can html5 change price tag automatically with attributes options.

Started by kenania, February 16, 2014, 12:39:56 PM

Previous topic - Next topic

kenania

when a price attribute added , the total price changes in the bottom, but not on top where the pricetagproduct image is. when that happen, it shows two different prices. Please Let me if can be done. Thanks in advance!

abantecart

Currently, if you select options with different price, there is a section for total price below.

If you need to change original price on option select with price modifier, you need to check JavaScript on product template files.

Look to:
storefront/view/default_html5/template/pages/product/product.tpl

Locate

function display_total_price() {
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Diane

I agree with kenania.

It would be nice to either override the "price tag icon" all together or at least be able to put text in it like "New" or " In Stock" or whatever.

The only way I've found right now to help customers understand the differences in the price of the different products is to add the word "ADD" after the price in the drop down/selectbox etc options.


example:
(Price on "price tag" icon)-- $2.50

(drop down/selectbox menu box #1)--2 fl oz
(drop down/selectbox menu box #2)--4 fl oz--ADD 

for the 2 oz leave "modify price" blank
for the 4 oz fill "modify price" by $1.50

----------------------------------------------------------------------

It winds up looking like this:
(Price on "price tag" icon)-- $2.50

(drop down menu box #1)--2 fl oz
(drop down menu box #2)--4 fl oz--ADD $1.50

the "blue price" at bottom shows-- $2.50 when the 2 oz is chosen and $4.00 when the 4 oz is chosen



__________________________________________

like I said though, I would like to have the option to put a "total/absolute price" in each drop down box and override the "modify price" situation all together if I choose, because in most situations it does confuse the customer.


gordontaylor

So I understand you, if someone adds, for example quantity of 2, the price above Add to Cart changes, but not in the price tag.

This would require some code modification in both the CSS and php in order to eliminate the price tag and it's price.

RajaSarma

It is very important to use Tags in a shopping website.
Like 'New' product tag, 'Discount' tag, or something like that.
But here is no any way to add a tag!
If it is possible to use tag image or icon, please tell me.

Forum Rules Code of conduct
AbanteCart.com 2010 -