AJAX Attribute Manager

Modification to Ajax Attributes Addon - AJAX Attribute Manager

Modification to Ajax Attributes Addon

by madruga » Sat Apr 01, 2023 3:22 am

Hello,

I need a simple modification to the Ajax Attribute Manager addon.

I want a product colour selected from the selectbox to be passed as a $colour variable to the catalog\includes\modules\pi\product_info\pi_gallery.php page each time the colour selection changes and reload the page.

I know that the attributes form(s) loaded on the pi_gallery.php page are derived from the catalog\includes\modules\pi\product_info\templates\tpl_pi_options_attributes.php file but can't see the full code as output in html.

<div class="col-sm-<?php echo $content_width; ?> pi-options-attributes mt-2">
<h6><?php echo PI_OA_HEADING_TITLE; ?></h6>

<?php
foreach ($options as $option) {
echo '<div class="form-group row">' . PHP_EOL;
echo ' <label for="input_' . $option['id'] . '" class="col-form-label col-sm-3 text-left text-sm-right">' . $option['name'] . '</label>' . PHP_EOL;
echo ' <div class="col-sm-9">' . PHP_EOL;
echo $option['menu'] . PHP_EOL;
echo $fr_input;
echo ' </div>' . PHP_EOL;
echo '</div>' . PHP_EOL;
}
?>
</div>

I could have done this myself but as I don't know where code for html output is, I am unable to do it. Is this something you can help with?
Select Colour.jpg
Many thanks.
madruga
Posts: 24
Joined: Thu Mar 16, 2023 12:43 pm
Contact:

Re: Modification to Ajax Attributes Addon

by raiwa » Sat Apr 01, 2023 6:50 am

Hi,
I'm sorry this is not related to Ajax Attributes Manager. Ajax Attributes Manager does not interfere with the output on the public shop side.
You should post this in the general Support Area.
You should also mention your Phoenix version.
Best wishes
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact: