自定义域搜索栏 WHMCS 集成

问题描述

我正在尝试从 WHMCS 中集成几行代码,用于在输入字符串时搜索可用性的“域搜索栏”。这是用于域订购以允许潜在客户直接进入输入域的购物车。见下文:

            <?xml version="1.0" encoding="utf-8"?><UniversalInterchange >
              <Header>
              
              </Header>
              <Body>
                <UniversalShipment >
              <Shipment>
                <ContainerCollection Content="Complete">
                  <Container>
                    <commodity>
                      <Code>XYZ</Code>
                      <Description>PET FOODS - FROZEN</Description>
                    </commodity>
                    <ContainerType>
                      <Code>40GP</Code>
                    </ContainerType>
                    </Container>
                        <Container>
                    <commodity>
                      <Code>XYZ</Code>
                      <Description>PET FOODS - FROZEN</Description>
                    </commodity>
                    <ContainerType>
                      <Code>40REHC</Code>
                    </ContainerType>
                    </Container>
                          <Container>
                    <commodity>
                      <Code>ABC</Code>
                      <Description>PET FOODS - FROZEN</Description>
                    </commodity>
                    <ContainerType>
                      <Code>20GP</Code>
                    </ContainerType>
                    </Container>
                </ContainerCollection>

                <OrganizationAddressCollection>
                  <OrganizationAddress>
                    <Addresstype>NotifyParty</Addresstype>
                    <OrganizationCode>SOMEONE</OrganizationCode>
                  </OrganizationAddress>
                 <OrganizationAddress>
                    <Addresstype>ShippingLineAddress</Addresstype>
                    <OrganizationCode>MyShipping</OrganizationCode>
                  </OrganizationAddress>
                  <OrganizationAddress>
                    <Addresstype>SendingForwarderAddress</Addresstype>
                    <OrganizationCode>ANOTHERORG</OrganizationCode>
                  </OrganizationAddress>
                  </OrganizationAddressCollection>
              </Shipment>
            </UniversalShipment>
              </Body>
            </UniversalInterchange>

接下来,我找到了一个免费的 Colorlib 搜索主题,我使用 CSS 对其进行了样式设置。但我不确定如何将这两个代码混合在一起,以便在输入内容搜索按钮起作用。

<form action="https://sales.tgitmedia.co.za/cart.PHP?a=add&domain=register" method="post">
Find your Domain: <input type="text" name="query" size="20" />
<input type="submit" value="Go" />
</form>

我尝试了很多次来整合这两个代码,但没有成功。有什么帮助吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)