Hi,
Wondered if someone help me basically we have product options on this page:
http://www.inkoptions.co.uk/inkjet?product_id=1015
Now when you choose Black, Cyan or Yellow the Product Name stays the same once added to the Cart is there an easy way to change this so it is clear what colour is stated? Like name the Product Name to change to the colour selected.
Thanks
Aaron
Wondered if someone help me basically we have product options on this page:
http://www.inkoptions.co.uk/inkjet?product_id=1015
Now when you choose Black, Cyan or Yellow the Product Name stays the same once added to the Cart is there an easy way to change this so it is clear what colour is stated? Like name the Product Name to change to the colour selected.
Thanks
Aaron
The product name does, but it shows the options selected under the product name:
Brother Compatible LC125XL Cyan Cartridge
- Colours: Cyan
So not sure what the issue is?
Brother Compatible LC125XL Cyan Cartridge
- Colours: Cyan
So not sure what the issue is?
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Hi but if you choose Magenta, the Product Name is still the Same, so the customer might get confused to why the actual product name is still "
Re: Product Options and Product Name question
Unread postby labeshops » Mon Jul 21, 2014 1:43 pm
The product name does, but it shows the options selected under the product name:
Brother Compatible LC125XL Cyan Cartridge" when they chose Magenta.
Re: Product Options and Product Name question
Unread postby labeshops » Mon Jul 21, 2014 1:43 pm
The product name does, but it shows the options selected under the product name:
Brother Compatible LC125XL Cyan Cartridge" when they chose Magenta.
Well right. That is because you have "cyan" in the name set for that product. Why not make it "Brother Compatible LC125XL Ink Cartridge" or "Brother Compatible LC125XL Color Cartridge" and then let the option indicate the color choice as normal?
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Still confused.
If they are separate products, they shouldn't have options, so then there wouldn't be the issue. I mean if you have the product listed as "cyan" why would your customer expect to order a color other than cyan when they click on it? As a customer, this would be confusing.
You could always have the other colors as related products.
If they are separate products, they shouldn't have options, so then there wouldn't be the issue. I mean if you have the product listed as "cyan" why would your customer expect to order a color other than cyan when they click on it? As a customer, this would be confusing.
You could always have the other colors as related products.
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Well you could echo the options name into the title probably. Not something I've tried, but you might try something like:
edit your template cart.tpl
Find:
and change to:
Not 100% sure this will work and I haven't tested it, but in theory it should.
If it doesn't work, you might try removing the line above and editing:
to
You might need the foreach check to make it work for each product, not totally sure.
edit your template cart.tpl
Find:
Code: Select all
<td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
Code: Select all
<td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?> - <?php echo $option['value']; ?></a>
If it doesn't work, you might try removing the line above and editing:
Code: Select all
<?php foreach ($product['option'] as $option) { ?>
- <small><?php echo $option['name']; ?>: <?php echo $option['value']; ?></small><br />
<?php } ?>
Code: Select all
<?php foreach ($product['option'] as $option) { ?>
- <?php echo $product['name']; ?>: <?php echo $option['value']; ?><br />
<?php } ?>
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Who is online
Users browsing this forum: No registered users and 194 guests