Skip to main content

Discount on packs of items

More
13 years 10 months ago #77755 by tjharvey
Replied by tjharvey on topic Discount on packs of items
Oh i knew how to change, just not how to make it work, any other ways?

I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

More
13 years 10 months ago - 13 years 10 months ago #77758 by tjharvey
Replied by tjharvey on topic Discount on packs of items
UH OH double post!

I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)
Last edit: 13 years 10 months ago by tjharvey.

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

More
13 years 10 months ago #77777 by Xavier
Replied by Xavier on topic Discount on packs of items
In the previous given code, a ")" is missing, use this one:
Code:
$productsPack = array("28", "29"); if(in_array(hikashop_getCID(),$productsPack)) echo JText::sprintf('PER_PACK_AT_LEAST_X_BOUGHT',$price->price_min_quantity); else echo JText::sprintf('PER_UNIT_AT_LEAST_X_BOUGHT',$price->price_min_quantity);
The following user(s) said Thank You: tjharvey

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

More
13 years 10 months ago - 13 years 10 months ago #77779 by tjharvey
Replied by tjharvey on topic Discount on packs of items
Woo!

PER_PACK_AT_LEAST_X_BOUGHT="per pack for buying at least %s"

If i wanted that to work for the per_pack
gyazo.com/895528f25d7ddbebe717ecb4ff5310d9

Would it be (in the translation bit)
PER_PACK="per pack"





Oh and:
www.uk-leds.com/product/28-led-smiley-face.html

You guys are great :)

I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)
Last edit: 13 years 10 months ago by tjharvey.
The following user(s) said Thank You: Jerome

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

Time to create page: 0.174 seconds
Powered by Kunena Forum