I am trying to add some text through a Variable in each product card;
Using 1.0.9.0;
The issue is the variables are displayed properly on each product except for the first product on the product_listing.php.
For some weird reason it is leaving out the very first product of the listing on each page.
I use below code to display it on product_card.php
Code: Select all
if ($product->get('has_attributes')){
echo $optext;
echo $valtext;
}It may be funny but I tried using the form tag formula of adding a extra <form></form> and closing the above code in form tags as a hack but no avail.
Your help shall be deeply appreciated,
Thank you for your help in advance;
Regds./
radhavallabh