- Posts: 15
- Thank you received: 0
How to sell by different variables?
15 years 3 months ago #18776
by Johnny B
Replied by Johnny B on topic Re: How to sell by different variables?
Ok that worked
Thanks a lot Nicolas!
But is there a way to edit the "each"? Thats kind of what I wanted edited
This is what its displaying:
$5.00 each
5$ for 1/2 lbs
Thanks a lot Nicolas!But is there a way to edit the "each"? Thats kind of what I wanted edited
This is what its displaying:
$5.00 each
5$ for 1/2 lbs
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18779
by nicolas
Replied by nicolas on topic Re: How to sell by different variables?
The each word can be changed in that view:
echo JText::_('PER_UNIT');
echo JText::_('PER_UNIT');
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18782
by Johnny B
Replied by Johnny B on topic Re: How to sell by different variables?
But then it changes it for every product. I only want it for the one product
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18784
by nicolas
Replied by nicolas on topic Re: How to sell by different variables?
Yes. You need to change that code...like explained previously:
switch($this->row->product_code){
case 'product_1':
echo JText::_('PER_UNIT');
break;
default:
echo 'other text';
break;
}
switch($this->row->product_code){
case 'product_1':
echo JText::_('PER_UNIT');
break;
default:
echo 'other text';
break;
}
Please Log in or Create an account to join the conversation.
15 years 3 months ago - 15 years 3 months ago #18785
by Johnny B
Replied by Johnny B on topic Re: How to sell by different variables?
Yes I did that but again its showing it like this:
$5.00 each
$5 1/2
Its showing the price by each THEN my added variable.
Like here:
magnismunchies.com/index.php/component/h...pathway-0?Itemid=257
$5.00 each
$5 1/2
Its showing the price by each THEN my added variable.
Like here:
magnismunchies.com/index.php/component/h...pathway-0?Itemid=257
Last edit: 15 years 3 months ago by Johnny B.
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18788
by nicolas
Replied by nicolas on topic Re: How to sell by different variables?
As much as we like to help, our time is finite. We already gave you where to modify and how. We can't make your customizations for you on our forum. If you want us to do it for you on your website, please use our contact form to request a quote.
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18790
by Johnny B
Replied by Johnny B on topic Re: How to sell by different variables?
Ok thats understandable. I greatly appreciate all of the help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds